Here is a patch I promised Nicholas a while ago to generate
src/extends.c automatically. It's not complete and it's not perfect,
but it's a good first step that someone (including potentially myself)
can refine as we see where and how it fails.
-- c
> <vtable_extend.patch>
Well, besides a nitpick regarding:
+=item C<vtbl_extend($vtable)>
+
+ [ snipped ]
+
+sub vtbl_embed
... I'm fine with that patch. But the ultimate word should speak actual
users of Parrot extend/embed, and of course, if it should be included
in the upcoming release.
leo
> > <vtable_extend.patch>
> Well, besides a nitpick regarding:
>
> +=item C<vtbl_extend($vtable)>
> +
> + [ snipped ]
> +
> +sub vtbl_embed
>
> ... I'm fine with that patch.
Okay, I checked it in.
> But the ultimate word should speak actual
> users of Parrot extend/embed, and of course, if it should be included
> in the upcoming release.
Nothing uses it yet; it's just there to test against in whatever
generates the file for embedders. Someone'll have to enable it manually
with some Makefile magic.
-- c
Would you like to propose such magic, at least a model?
("It's only a model.")
--
Chip Salzenberg <ch...@pobox.com>