On Fri, Jun 12, 2009 at 8:43 AM, Tobias Rautenkranz<tob...@rautenkranz.ch> wrote: > Actually I am getting the NIL pointers from cffi:mem-ref: > > CL-USER> (defvar *a* (cffi:foreign-alloc :pointer > :initial-element (cffi-sys:null-pointer))) > *A* > CL-USER> (cffi:mem-ref *a* :pointer) > NIL > > Attached is your patch with the handling for mem-ref added. > > > Getting rid of NIL as null pointer will require additional changes:
Thanks. I've pushed a patch based on yours and took care of the additional cases you've identified. Hope that fixes your problems. -- Luís Oliveira http://student.dei.uc.pt/~lmoliv/ _______________________________________________ cffi-devel mailing list cffi-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel