On 19 May 2005, Colin Paul Adams wrote: [snip]
> I'm having a problem with this. > For Parrot_find_global, I'm specifying global.h as one of the header > files which must be read to generate definitions from. > But this is failing, apparently because PMC isn't defined. > > So I tried to find where PMC was defined - it looked like pobj.h to > me, but if I include that, I run into trouble with size_t (?!) and > DPOINTER (at least). > > What headers do I need to read for the parrot_find_global call? Parrot_PMC is the public type, and behind the scenes it's defined as PMC *. all you should need to include is embed.h, extend.h and for now, resources.h. i'm actually working on fleshing these files out to be more consistent wrt the public API. see trunk/src/parrot_util.c in the mod_parrot source for a working example of all this. > -- > Colin Adams > Preston Lancashire > -jeff