11 Mar
2009
11 Mar
'09
09:50
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, -- -alex http://www.ventonegro.org/