Re: [cffi-devel] CLISP (pointer-address nil) error

14 Jun
2009
14 Jun
'09
6:23 p.m.
On Fri, Jun 12, 2009 at 8:43 AM, Tobias Rautenkranz<tobias@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/
5750
Age (days ago)
5750
Last active (days ago)
0 comments
1 participants
participants (1)
-
Luís Oliveira