[cffi-devel] allocating :count 0 in clisp

Tobias Rautenkranz tobias at rautenkranz.ch
Tue Jun 30 13:08:22 UTC 2009


(cffi:foreign-string-alloc "" :null-terminated-p nil)
gives an error in CLISP:
*** - FFI:FOREIGN-ALLOCATE: element type has size 0: #(FFI:C-ARRAY FFI:UINT8 
0)

The problem is that FFI:FOREIGN-ALLOCATE does not allow the allocation of 
arrays of size zero. Not sure where to fix this.
-------------- 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/7d818bde/attachment.sig>


More information about the cffi-devel mailing list