At 6:44 PM +0200 8/21/04, Mattia Barbon wrote:
  Hello,
I think extenders should have access to at least some of the
flags in PObj_enum. Should we have a different function for
each flag (say: Parrot_PObj_set_custom_mark(INTERP, PMC, value),
Parrot_PObj_set_is_class(INTERP, PMC, value) or a single
Parrot_PObj_set_flag(INTERP, PMC, flag, value) where flag
is an enumerated value declared in extend.h, NOT the values of
PObj_enum.

Nope. Flags are for internal PMC use or engine use, not for extenders, at least not for now.


Extenders also need Parrot_PObj_mark(INTERP, PMC).

Nope. That's for internal use, either by the DOD or the the PMC class functions.


We should get the APIs better delineated, though, with the reasons for this stuff being where it is.
--
Dan


--------------------------------------it's like this-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to