On Sun, 2004-02-08 at 15:06, Leopold Toetsch wrote:

> So you create an initializer for that struct (above layout? - a bad name
> BTW) and *assign* it to the screen:
> 
>   assign screen, screen_struct_layout
>   w = screen["w"]   # presumed your struct initializer defines that
> 
> s. docs/pmcs/struct.pod

Hmm, I wasn't adding the _struct property for struct pointers, but it
looks like I should do that.  That's workable.

Now, I'm seeing an odd error whenever I use the 'loadlib' op, though:

        set_pmc_keyed_str() not implemented in class 'PerlInt'

The backtrace oddness starts in imcc/parser.c 352, when it calls
Parrot_load_lib().

-- c

Reply via email to