[Pharo-users] Unified FFI: pointer of String as function parameter

Julien Delplanque julien at tamere.eu
Mon May 30 04:56:37 EDT 2016


Hello everyone,

I have a C function to call from Pharo that looks like this:

int my_function(char ** parameter);

This function fill the pointer on the String given as parameter.

How can I use this from pharo Unified FFI? I mean, how to get a pharo 
String filled by this function?

Thanks in advance,

Julien





More information about the Pharo-users mailing list