[fetter-devel] Verrazano and ncurses

Brad Beveridge brad.beveridge at gmail.com
Mon Dec 5 15:47:37 UTC 2005


> Also - how do I pass a NULL pointer to a function?

Figured this out - cffi:null-ptr.
Next question :)
ncurses defines a function addchstr(const chtype*), chtype is an int
type.  I'd like to call it as
(addchstr "test"), but I cant manage to convince SBCL's type system to
pass the address of the string elements - though I suspect it would
Just Work if the function took a char *.  Any thoughts?

Thanks again (the help has been wonderful)
Brad



More information about the fetter-devel mailing list