Hallo,
On Mon, Mar 2, 2009 at 5:07 PM, Alex Queiroz asandroq@gmail.com wrote:
I have a C function like this:
___UCS_2STRING tsk_home_dir(void);
which is exported like this:
(define home-directory (c-lambda () UCS-2-string "tsk_home_dir"))
Everytime tsk_home_dir is called it allocates a new string. Who must free this memory? C or Scheme?
Hmmm, wasn't my question well written or wasn't it just seen? :)
Cheers,