- Jan 18, 2013
-
-
CrLF0710 authored
-
- May 05, 2012
-
-
Liam M. Healy authored
Fix an error in the recursive call in libffi-type-pointer for foreign-struct-type, now parse the slot-type, which is unparsed. This makes FSBV.3 and FSBV.4 succeed. Removed quote from test FSBV.2; this makes FSBV.2 succeed.
-
- Oct 23, 2011
-
-
Liam M. Healy authored
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.
-
- Oct 22, 2011
-
-
Liam M. Healy authored
Tests fsbv.1 and fsbv.2 added that test foreign structure call and return by value. This includes the C file and addition to makefile to generate the appropriate library, libfsbv. So that the tests are properly defined, load cffi-fsbv and then cffi-tests. Both tests should pass. The test returning a structure, fsbv.2, exposed an error in the form generated by ffcall-body-libffi; because it always generated a mem-aref on the return value, the subsequent translate-from-foreign was effectively making a double translation. Thus, this form generation has been conditionalized so that if translate-from-foreign will not be applied (e.g., built-in-type) to call mem-aref, otherwise just return the pointer.
-
- May 03, 2006
-
-
James Bielman authored
-
- 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
-