[cffi-devel] Re: CFFI malloc free

Luís Oliveira luismbo at gmail.com
Mon Dec 19 11:19:57 UTC 2005


On 12/19/05, Surendra Singhi <efuzzyone at netscape.net> wrote:
> Can the foreign string in the above example contain the null character? Or
> does cffi assumes that it is a null terminated string?

Yes, yes. See:

http://common-lisp.net/project/cffi/manual/html_node/foreign_002dstring_002dto_002dlisp.html

--
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/
Equipa Portuguesa do Translation Project
http://www.iro.umontreal.ca/translation/registry.cgi?team=pt



More information about the cffi-devel mailing list