Hello,
Here are the latest changes in cffi-luis. The new operator foreign-symbol-ptr is documented here:
http://common-lisp.net/project/cffi/manual/html_node/ foreign_002dsymbol_002dptr.html
defcvar is now more dynamic (the way Kenny likes), it now looks up the address of the foreign var at run-time when accessing it.
Sat Sep 24 21:13:05 WEST 2005 Luis Oliveira loliveira@common-lisp.net * foreign-symbol-ptr and defcvar, etc..
- defcvar's expansion will now lookup the foreign symbol at runtime. get-var-ptr too. - Changed a few implementations to return NIL when foreign symbol doesn't exist (instead of, say, raising an error): clisp, cmucl, lispworks and sbcl. - Exported foreign-symbol-ptr from the CFFI package and added it to the user manual. - Also added missing word to foreign-free's description. - Fixed typo in cffi-corman-lisp.
Sat Sep 24 21:01:46 WEST 2005 Luis Oliveira loliveira@common-lisp.net * Support for my asdf setup.
Well, support for asdf setups that don't put fasl files next to the source files. The Makefile will delete the .fasls directories on make clean (that's where my setup puts the fasls) and bindings.lisp will save the shared library's location at compile-time.
Tue Sep 20 18:35:32 WEST 2005 Luis Oliveira <loliveira@common-lisp.net-ptr
- new cffi-sys primitive: foreign-symbol-ptr (still needs semantics to be defined when dealing with undefined foreign symbols) - defcvar now uses this /at load-time/.
Fri Sep 16 01:47:00 WEST 2005 Luis Oliveira loliveira@common-lisp.net * Don't free lisp allocated memory on the C side.
Thu Sep 15 15:22:38 WEST 2005 Luis Oliveira loliveira@common-lisp.net * Fix bug with arrays in uffi-compat.