- Jun 05, 2008
-
-
Stelian Ionescu authored
-
- Dec 08, 2007
-
-
Luís Oliveira authored
-
Luís Oliveira authored
-
- Apr 13, 2007
-
-
Luís Oliveira authored
-
- Feb 19, 2007
-
-
Luís Oliveira authored
The changes are summarized here: http://article.gmane.org/gmane.lisp.cffi.devel/1029 Also adapted tests and examples and uffi-compat.
-
- May 03, 2006
-
-
James Bielman authored
-
- Jan 01, 2006
-
-
James Bielman authored
-
James Bielman authored
-
- Dec 28, 2005
-
-
James Bielman authored
-
James Bielman authored
- Add UNPARSE generic function for unparsing types. - Reverse the order of the type name and class in translator GFs. - Add NEXT-* versions of the translator GFs.
-
- Dec 23, 2005
-
-
James Bielman authored
-
James Bielman authored
-
James Bielman authored
-
James Bielman authored
-
- Dec 12, 2005
-
-
Luís Oliveira authored
- WITH-FOREIGN-OBJECT should eval the type parameter. Fixed this as well as the examples and tests that assumed it wasn't evaluated. - document WITH-FOREIGN-OBJECT in the manual. - removed the pseudo ability to specialize arguments on define-type-translator. That didn't quite work, doh. - removed dead code from cffi-uffi-compat::foreign-type-size specialized on the uffi-array-type. - uffi-compat: parse (:array <type>) as (:array <type> 1) - uffi-compat: reflect the fact that CFFI:WITH-FOREIGN-OBJECT now evaluates the type parameter.
-
- Dec 09, 2005
-
-
Luís Oliveira authored
- Renamed: null-ptr -> null-pointer, null-ptr-p -> null-pointer, inc-ptr -> inc-pointer, with-foreign-ptr -> with-foreign-pointer, with-foreign-ptr-as-string -> with-foreign-pointer-as-string, foreign-slot-address -> foreign-slot-pointer, get-var-ptr -> get-var-pointer and foreign-symbol-ptr -> foreign-symbol-pointer. - Updated various references to the old names in the cffi code itself, examples, tests and the manual. - New functions: cffi(-sys):pointer-address and cffi(-sys):make-pointer. - Use these in uffi-compat. - Documented them in the manual. - New tests: POINTER.1 and POINTER.2
-
- Dec 02, 2005
-
-
Luís Oliveira authored
- Use variables for the lisps' paths so that one can easily pick different versions to run the tests with. eg: CMUCL
-
- Aug 26, 2005
-
-
Luís Oliveira authored
- New tests: tests/enums.lisp (4 tests) and tests/misc-types.lisp (3 tests). - New file: objects.lisp, skeleton of the safe typed pointer interface. I also added a :boolean type here, it's looking for a better home still. - (early-types.lisp): type parsers, DEFINE-TYPE-SPEC-PARSER and PARSE-TYPE. Added abbility to have anonymous types (ie. a name is no longer required for FOREIGN-TYPE). Moved DEFCTYPE to types.lisp. - (enum.lisp): improved DEFCENUM, the values for each keyword are now optional, like in C. Added the anonymous type (:enum ...) - (types.lisp): - Renamed :TO-C-ARG to :TO-C-DYNAMIC. - Renamed FOREIGN-AREF to MEM-AREF and implemented compiler macros for it. - New exported macro: DEFINE-FOREIGN-TYPE for parameterized types. - Change DEFINE-TYPE-TRANSLATOR back to the previous interface, translators take a type argument now and we have translators available at runtime now too. - FOREIGN-TYPEDEF's now inherit their parent type's translators. - New :wrapper type, for anonymous typedefs with translators. - (strings.lisp): Renamed string to :string. Added new type, :string+ptr. - (utils.lisp): renamed let-if to bif. - (tests/callbacks.lisp): two tests were not being run for SBCL because I thought it triggered a bug but it's actually only one that triggers the bug. Fixed that. - Updated examples and tests to use :string instead of string.
-
- Jun 13, 2005
-
-
Stelian Ionescu authored
-
- Jun 12, 2005
-
-
Stelian Ionescu authored
-
- Jun 11, 2005
-
-
Stelian Ionescu authored
Add unit testing framework using RT. Lots of manual and CFFI-SYS updates. Add passing a double float to sprintf in examples.lisp. Update the syntax of the nested structure example. Add the INC-PTR function to the CFFI-SYS backends. Add the shareable byte vector interface to the CFFI-SYS backends. Started writing support for aggregate structure slots. Not used yet.
-
- Jun 08, 2005
-
-
Stelian Ionescu authored
Add foreign enumerated types that automatically convert from keywords to integers when passed or returned to/from foreign functions.
-
- Jun 07, 2005
-
-
Stelian Ionescu authored
Clean up CLISP support some, will need CVS version of CLISP to properly handle looking up symbols in all loaded foreign libraries. Add preliminary support for CMU CL (tested in 19b-pre on OS X).
-
Stelian Ionescu authored
-