Fix leaking callbacks and re-use free'd slots in the objects array
Fix leaking callbacks and re-use free'd slots in the objects array

Replaced the objects array by a ObjectKeeper class that re-uses free'd
slots. The free slots form a linked list of pointers to previously free'd
slots. Thanks to ParrotPointerArray for that idea.

Replaced the closures passed to p5_wrap_p6_object by ordinary sub
references.

This fixes all memory leaks related to passing Perl 6 objects to Perl 5
code.

hoelzro/Inline-Perl5,hoelzro/Inline-Perl5,FROGGS/Inline-Perl5,niner/Inline-Perl5,FROGGS/Inline-Perl5,hoelzro/Inline-Perl5,niner/Inline-Perl5