* How does FFI work for passing a char* argument that gets modified in the
invoked module

char*   ctest ( char* test , char** test2)
{
     test = "Modify this argument";
     // loop and fill in data into test2 and return..
     return "something else";
}

  ctest: test
<cdecl: char* 'ctest' ( char* , long ) module: 'libctest'>


So invoking this with say ExternalAddress allocate: **,  gives us the
values as modified by the module.. and be converted as required into
ByteArray for the second

Reply via email to