[plt-scheme] cpointer to an allocated cpointer

From: Hans Oesterholt-Dijkema (hdnews at gawab.com)
Date: Sat Jan 13 18:06:42 EST 2007

Dear All,

Suppose I want to do the following using the FFI:

void *p;
int r=sqlite3_open("file",&p);

p will be allocated using the library.

How can I do that using the FFI?


Posted on the users mailing list.