[cffi-devel] Recent changes: makefiles, defcstruct, foreign-string-alloc/with-foreign-string
Luís Oliveira
luismbo at gmail.com
Fri Dec 2 08:46:13 UTC 2005
Hello,
Changelog with the recent changes in cffi-luis follows:
Fri Dec 2 07:56:37 WET 2005 Luis Oliveira <loliveira at common-lisp.net>
* makefiles, defcstruct, foreign-string-alloc/with-foreign-string
- Use variables for the lisps' paths so that one can easily pick
different versions to run the tests with. eg:
CMUCL=/path/to/lisp make test-cmucl
- FOREIGN-STRING-ALLOC and WITH-FOREIGN-STRING: check if what we're
passing as a string is actually a string. This avoids
(foreign-string-alloc nil) => <pointer to empty C string>
- DEFCSTRUCT now takes an optional :size option and each slot takes
an optional :offset parameter that overrides the normal offset.
This
enables partial definitions of C structs.
- The previous change forces to make the COUNT option for the slots
to be a keyword option. Update the examples accordingly.
^^
[ugh, beautiful wording!]
- tests/Makefile: support for SunOS.
Tue Nov 15 02:27:28 WET 2005 James Bielman <jamesjb at jamesjb.com>
* add and export WITH-FOREIGN-STRINGS to 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