Skip to content
  1. Jan 18, 2013
  2. Feb 05, 2012
  3. Jan 29, 2012
  4. Jan 23, 2012
    • Liam M. Healy's avatar
      Add Windows grovel file · cc73a6f6
      Liam M. Healy authored
      Added a Windows grovel file from CRLF0710, modified from the
      standalone FSBV unix file.  Minimally modified for CFFI with updated
      header and package, not tested at all.
      cc73a6f6
  5. Jan 13, 2012
  6. Sep 17, 2011
    • Liam M. Healy's avatar
      Define prepare-function · de640c1e
      Liam M. Healy authored
      Define #'prepare-function which generates a form to make the
      preparation and call into libffi.  The form looks correct but it has
      not been tested yet.
      de640c1e
  7. Sep 11, 2011
    • Liam M. Healy's avatar
      Define structure interface to libffi · f5469081
      Liam M. Healy authored
      Generic function translate-into-foreign-memory and funtion
      convert-into-foreign-memory definitions now loaded by cffi.  System
      cffi-fsbv defined for calling functions with foreign structures by
      value using libffi.  Current state of this system is to make
      libffi-type-pointer and associate with the structure in defcstruct.
      This works on test structure
      (macroexpand '(defcstruct (complex :class complex-type) (real :double) (imag :double)))
      but nothing further is done with the libffi-type-pointer.
      
      To do: fix lookup-type so that if there is no type defined, it returns
      nil.  Do iterate-foreign-structure in advance of macro expansion in
      cstruct-libffi-hook, if any arguments lack type translation, then
      return nil.  This means that that structure can not be passed/returned
      by value.  Then load cif after cstruct.  Secondary bug fix: defsynonym
      'unsigned to something, not sure what it's supposed to be; :uint?
      f5469081