[FFI] Passing array of structures?

nicolas cellier ncellier at ifrance.com
Sat May 20 02:22:25 UTC 2006


I can pass an ExternalStructure by value foo(struct bidule).

I can pass an ExternalStructure by address foo(struct bidule *)

But how to pass an array of structure ?
I just cannot figure the smalltalk class to do that...
ExternalData does deal only with atomic arrays...

Of course, i can loosely declare foo(char *),..
Anything better ?

Nicolas




More information about the Squeak-dev mailing list