[cffi-devel] allocating :count 0 in clisp

Tobias Rautenkranz tobias at rautenkranz.ch
Tue Jun 30 19:20:58 UTC 2009


> How about making CFFI:FOREIGN-ALLOC always return a null pointer
> regardless of what malloc() would do? Would that work?
Yes; this is fine with me.
I was just thinking one could prevent testing for :count 0 by allowing the 
same return value as malloc() and thus not introduce an overhead.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20090630/734998f3/attachment.sig>


More information about the cffi-devel mailing list