FFI question

Niko Schwarz niko.schwarz at gmx.net
Sun Jul 9 15:02:40 UTC 2006


Hi there, I'm trying to have a hold on Bonjour. I tried to convince FFI to apicall into the dll, but I failed, because I understand only little about C, and I have no idea, how to transfer this:

typedef struct _DNSServiceRef_t *DNSServiceRef;

into a smalltalk class. Note that _DNSServiceRef_t seems to be defined nowhere!

So what should "fields" return? I didn't bother to try #(()), because the method I'd like to invoke stores its result in the pointer of type DNSServiceRef*, which I'm supposed to give it, uninitialized. 

niko
-- 


Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl



More information about the Squeak-dev mailing list