[cffi-devel] Recent changes, new operator foreign-symbol-ptr
Luis Oliveira
luismbo at gmail.com
Sat Sep 24 21:04:28 UTC 2005
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 at 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 at 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 at 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 at common-lisp.net>
* Don't free lisp allocated memory on the C side.
Thu Sep 15 15:22:38 WEST 2005 Luis Oliveira <loliveira at common-lisp.net>
* Fix bug with arrays in uffi-compat.
--
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/
Equipa Portuguesa do Translation Project
http://www.iro.umontreal.ca/translation/registry.cgi?team=pt
More information about the cffi-devel
mailing list