Hello,
this patch
* renames Parrot_INTERP and Parrot_STRING to Parrot_Interp and Parrot_String,
which matches the rest of Parrot types, as well as the embedding interface
* Adds Parrot_PMC_get/set_vtable
* makes the extending interface compilable with a C++ compiler
(removed typedef struct Parrot_Interp* Parrot_Interp)
(note: only *compiles*, it probably does not link yet)
* changes typedefs in extend.h from
typedef void* <type>
to
typedef struct type_* type
which allows for slightly better type safety
Regards
Mattia
> * renames Parrot_INTERP and Parrot_STRING to Parrot_Interp and Parrot_String,
> which matches the rest of Parrot types, as well as the embedding interface
AFAIK are the types in extend.c opaque types which are different to the
internals.
> Regards
> Mattia
leo
Sure. But: embed.h and extend.h do not use the same types. They should,
whichever the type names are (I am not to decide[1], but somebody ought to...).
In addition the patch leaves the types opaque, it just changes their names.
Regards
Mattia