Hello all!!

My first message to the list!
Folks, how can I access a C linked list (of an
external library) from Perl? 

Let me illustrate what I'm trying to do:

// from Ming-C SWF Output Library
// ming.sourceforge.net

struct SWFDisplayList_s
{
        
        SWFDisplayItem head;
        SWFDisplayItem tail;
        byte isSprite;
        int depth;
};
struct SWFDisplayItem_s
{
        SWFDisplayItem next;

        int flags;
        int depth;
        SWFCharacter character;
        SWFPosition position;
        SWFMatrix matrix;
        
};

SWF* type definitions are all pointers to structs. 
Then, in Perl I should loop through the
SWFDisplayList!

This problem is a very generic one I presume; am I
missing something in the C-Cookbook??

Any help is appreciated.


Ogla 







   





        
                
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/

Reply via email to