Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jun 7, 2012
  1. @liamh

    Add method expand-to-foreign-dyn-indirect foreign-type-alias

    liamh 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).
Commits on May 14, 2012
  1. @liamh
Commits on May 6, 2012
  1. @sionescu
  2. @sionescu
  3. @sionescu
Commits on May 5, 2012
  1. @liamh

    Tests for cffi-libffi working

    liamh 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.
Commits on May 4, 2012
  1. @luismbo
Commits on May 3, 2012
  1. Remove *parse-bare-structs-as-pointers* binding in test

    Liam M. Healy authored
Commits on May 1, 2012
  1. @luismbo

    Rewrite backwards-compatibility mode for bare struct types.

    luismbo 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.
Commits on Apr 30, 2012
  1. @sionescu


    sionescu authored
    This broke other stuff, so revert until we understand what's happening
    This reverts commit 944d331.
  2. @luismbo
  3. @sionescu
  4. @sionescu
Commits on Apr 20, 2012
  1. @liamh

    Improve documentation of structure reference

    liamh 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.
Commits on Apr 19, 2012
  1. Fix compiler macro for mem-aptr (Stas Boukarev)

    Liam M. Healy authored
Commits on Apr 14, 2012
  1. @luismbo
  2. @luismbo
  3. @luismbo
  4. @luismbo
  5. @liamh

    Fix expand-to-foreign-dyn-indirect

    liamh 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.
  6. @luismbo
  7. @luismbo
  8. @sionescu @luismbo
Commits on Apr 12, 2012
  1. @sionescu
Commits on Mar 25, 2012
  1. @liamh

    New function expand-to-foreign-dyn-indirect

    liamh 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, ab10be4.  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.
Commits on Mar 23, 2012
  1. @liamh

    Compiler macro for mem-aptr

    liamh authored
    Multi-level optimizations depending what arguments are constantp; 
    the constantp arguments need to be evaled.
Commits on Mar 18, 2012
  1. @liamh

    Add, to unix load list

    liamh authored
    Ubuntu 11.10 ships with libffi6 and not libff5, so these libraries are
    now added to the load list.
Commits on Mar 16, 2012
  1. @liamh

    Change comment to refer to "libffi"

    liamh 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).
  2. @liamh

    Merge branch 'master' into libffi

    liamh authored
  3. @liamh
Commits on Mar 11, 2012
  1. @luismbo

    cffi-abcl: implement callbacks.

    luismbo authored
    Patch courtesy of Mark Evenson.
  2. @luismbo

    cffi-abcl: autoload JNA dependency.

    luismbo authored
    Patch courtesy of Mark Evenson.
Commits on Mar 10, 2012
  1. @luismbo

    Add support for Digitool MCL.

    luismbo authored
    Patch courtesy of James Anderson.
Commits on Mar 5, 2012
  1. @liamh
Commits on Mar 1, 2012
  1. @liamh

    Define mem-aptr; untested

    liamh authored
    New function mem-aptr will return the pointer to the requested element
    of the array, and add documentation.  It is untested.
Something went wrong with that request. Please try again.