[Cffi-devel] What is wrong with this 2d array of pointers

Joeish W joeish80829 at yahoo.com
Thu May 8 21:24:00 UTC 2014


I was hoping someone could look at this and help me debug it.

I'm getting:

(FOREIGN-ALLOC :POINTER :INITIAL-ELEMENT (NULL-POINTER))
is not of type
SB-SYS:SYSTEM-AREA-POINTER. when I run it.



(foreign-array-alloc #2A((

(foreign-alloc :pointer :initial-element (null-pointer)) 
(foreign-alloc :pointer :initial-element (null-pointer))) 
((foreign-alloc :pointer :initial-element (null-pointer)) 
(foreign-alloc :pointer :initial-element (null-pointer))) 
((foreign-alloc :pointer :initial-element (null-pointer)) 
(foreign-alloc :pointer :initial-element (null-pointer))) 
((foreign-alloc :pointer :initial-element (null-pointer)) 
(foreign-alloc :pointer :initial-element (null-pointer)))) '(:array :pointer 4 2))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20140508/1a80f1de/attachment.html>


More information about the cffi-devel mailing list