Juergen Boemmels <[EMAIL PROTECTED]> wrote:

> No, I think we need to rethink the wrapping technology (which I
> introduced). Something like:
> struct parrot_io_t {
>   PObj pobj;
>   UINTVAL flags;
>   PIOHANDLE fd;
>   ...
> };
> But this needs to allocate garbage-collected memory of
> sizeof(struct parrot_io_t) instead of sizeof(PMC). I don't know if
> something like that is already possible.

You can't use such an object instead of an PMC. But you can hang it onto
the PMC_data pointer. Hash or List do the same. You just have to create
the sized pool entry in class_init() and mark it properly.

> boe

leo

Reply via email to