These features are already supported by constantenum definitions, we just make them available for bitfields.
* Remove suggestion of C++ support in CFFI. It probably referred to the Verrazano project. There are currently no plans to support C++ in CFFI. * cffi-grovel has been integrated into CFFI. * Make it slightly easier to run the tutorial code on MacOS X.
Add definition of C functions prodsumpair and doublepairdouble that take, and for the latter, return, the structure struct-pair+double (struct_pair_double) that has a structure struct-pair (struct_pair) in its slot 'pr. Two tests, fsbv.3 and fsbv.4, have been defined, and pass. Fixed argument to libffi-type-pointer call in libffi-type-pointer :around method so that these will work.
Documentation for structure conversion; push :fsbv onto features, export macro translation-forms-for-class.
…ocumentation The default free-translated-object for foreign structures. The code for translating a structure with aggregate slots was wrong, because it did not recognize an existing translator (e.g. complex), so it has been removed. Description in manual for defcfun and foreign-funcall include structure-by-value call specification and requirements.
RELOAD-FOREIGN-LIBRARIES &KEY (TEST #'FOREIGN-LIBRARY-LOADED-P) Useful especially when saving an image to reload libraries when the image is re-started. Pushing #'CFFI:RELOAD-FOREIGN-LIBRARIES to the implementation's *INIT-HOOKS*(or equivalent) should suffice for most cases
- Add WITH-FOREIGN-OBJECTS and WITH-FOREIGN-STRINGS to the dictionary menus. (This unfortunately seems to require specifying the @node declarations in full.) - Make the table of contents more manageable by turning @unnumberedsecs into @headings. - Fix docstring in DEFSTRUCT example.