- Nov 04, 2012
-
-
Luís Oliveira authored
-
-
-
Luís Oliveira authored
-
On FreeBSD, GCC only looks in directories of the base system (/usr/include). We need to manually add /usr/local/include if we want to be able to bind libraries installed by packages or ports.
-
- Jun 07, 2012
-
-
Liam M. Healy authored
Add method expand-to-foreign-dyn-indirect for type foreign-type-alias so that foreign-string-type will be expanded correctly (as a pointer).
-
- May 14, 2012
-
-
Liam M. Healy authored
-
- May 06, 2012
-
-
Stelian Ionescu authored
-
Stelian Ionescu authored
-
Stelian Ionescu 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.
-
- May 04, 2012
-
-
Luís Oliveira authored
-
- May 03, 2012
-
-
Liam M. Healy authored
-
- May 01, 2012
-
-
Luís Oliveira authored
* Instead of a special variable, the parsed struct type instance is now annotated to let the type system know whether we're dealing with deprecated semantics (struct type canonicalizes to :pointer) or not. This approach should hopefully be much less error-prone. * Disabled translations for bare structs. * Fixed and commented out some bogus tests.
-
- Apr 30, 2012
-
-
Stelian Ionescu authored
This broke other stuff, so revert until we understand what's happening This reverts commit 944d3318.
-
Luís Oliveira authored
-
Stelian Ionescu authored
-
Stelian Ionescu authored
-
- Apr 20, 2012
-
-
Liam M. Healy authored
Improved the documentation for Foreign Structure Types to more clearly describe the behavior of mem-aref under the new structure reference syntax and the compatibility of the bare structure reference with the old behavior.
-
- Apr 19, 2012
-
-
Liam M. Healy authored
-
- Apr 14, 2012
-
-
Luís Oliveira authored
-
Luís Oliveira authored
-
Luís Oliveira authored
-
Luís Oliveira authored
-
Liam M. Healy authored
Create a new function #'foreign-expand-runtime-translator-or-binding which is what the methods expand-to-foreign-dyn (value var body (type enhanced-foreign-type)) expand-to-foreign-dyn-indirect (value var body (type translatable-foreign-type)) both call. Previously, the body of that function was the body of the first method, and the second method called that generic function. This did not work as intended however, the result being that libffi calls were passed the actual object instead of the pointer. This change fixes that problem.
-
Luís Oliveira authored
-
Luís Oliveira authored
-
-
- Apr 12, 2012
-
-
Stelian Ionescu authored
-
- Mar 25, 2012
-
-
Liam M. Healy authored
New function expand-to-foreign-dyn-indirect split out from expand-to-foreign-dyn, and the latter function returned to its definition as given in the tip of master, ab10be4f. This function is used if the optional argument 'indirect to translate-objects is T, which in turn the case when functions are calling or return structures by value.
-
- Mar 23, 2012
-
-
Liam M. Healy authored
Multi-level optimizations depending what arguments are constantp; the constantp arguments need to be evaled.
-
- Mar 18, 2012
-
-
Liam M. Healy authored
Ubuntu 11.10 ships with libffi6 and not libff5, so these libraries are now added to the load list.
-
- Mar 16, 2012
-
-
Liam M. Healy authored
Comment referred to "FSBV" now corrected to "libffi". Other uses (the tests and foreign library for tests, the *feature* symbol, and the variable 'fsbvp resulting from fn-call-by-value-p) genuinely refer to FSBV and not specifically libffi. Distinction: "FSBV" refers to all calls of structures by value, whether accomplished with the help of libffi or not (some compilers have FSBV built in), "libffi" refers to the use of the libffi library whether or not for calling foreign structures by value (there are other functions not yet made use of in CFFI, but someday might).
-
Liam M. Healy authored
Conflicts: tests/GNUmakefile
-
Liam M. Healy authored
-
- Mar 11, 2012
-
-
Luís Oliveira authored
Patch courtesy of Mark Evenson.
-
Luís Oliveira authored
Patch courtesy of Mark Evenson.
-
- Mar 10, 2012
-
-
Luís Oliveira authored
Patch courtesy of James Anderson.
-
- Mar 05, 2012
-
-
Liam M. Healy authored
-
- Mar 01, 2012
-
-
Liam M. Healy authored
New function mem-aptr will return the pointer to the requested element of the array, and add documentation. It is untested.
-