Chromatic <[EMAIL PROTECTED]> wrote:
> What's the secret syntax for passing and retriving arrays of things to
> and from NCI?  I have this signature:

There is no secret syntax:

,--[ docs/pmc/struct.pod ]-----------------------------------------
|        Array Size
|            The second initializer item, if set to a value greater
|            then 1, defines the struct element to consist of an
|            array of the given data type.
`------------------------------------------------------------------

*but* it's just not implemented for arrays of struct or struct* :)

Somewhere after unmanagedstruct.pmc:136 the C<count> has to be considered,
probably by incrementing C<p> by the needed size.

Can you provide some test code (s. t/pmc/nci.t and src/nci_test.c) for
signatures similar to the real:

>       extern DECLSPEC void SDLCALL SDL_UpdateRects
>               (SDL_Surface *screen, int numrects, SDL_Rect *rects);

leo

Reply via email to