Skip to content
  1. Nov 04, 2012
  2. Apr 20, 2012
    • Liam M. Healy's avatar
      Improve documentation of structure reference · 77d60b93
      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.
      77d60b93
  3. Apr 14, 2012
  4. Mar 05, 2012
  5. Mar 01, 2012
    • Liam M. Healy's avatar
      Define mem-aptr; untested · 53ce2e07
      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.
      53ce2e07
  6. Oct 23, 2011
    • Liam M. Healy's avatar
      Test foreign function calls with recursive structure by value · a227e3be
      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.
      a227e3be
  7. Oct 19, 2011
  8. Oct 03, 2011
    • Liam M. Healy's avatar
      Add default free-translated-object, remove aggregate slot code, add documentation · 23237b13
      Liam M. Healy authored
      The default free-translated-object for foreign structures.  The code
      for translating a structure with aggregate slots was wrong, because it
      did not recognize an existing translator (e.g. complex), so it has
      been removed.  Description in manual for defcfun and foreign-funcall
      include structure-by-value call specification and requirements.
      23237b13
  9. Sep 10, 2011
  10. Apr 17, 2011
  11. Feb 11, 2011
  12. Jan 02, 2011
    • Stelian Ionescu's avatar
      Add function RELOAD-FOREIGN-LIBRARIES · e8670b7e
      Stelian Ionescu authored
      RELOAD-FOREIGN-LIBRARIES &KEY (TEST #'FOREIGN-LIBRARY-LOADED-P)
      
      Useful especially when saving an image to reload libraries when the
      image is re-started.
      Pushing #'CFFI:RELOAD-FOREIGN-LIBRARIES to the implementation's
      *INIT-HOOKS*(or equivalent) should suffice for most cases
      e8670b7e
  13. Sep 19, 2010
    • Stelian Ionescu's avatar
      Improve foreign library support · eb1bf4a9
      Stelian Ionescu authored
      * add a PRINT-OBJECT method for foreign libraries
      * signal FOREIGN-LIBRARY-UNDEFINED-ERROR instead of a SIMPLE-ERROR in
        LOAD-FOREIGN-LIBRARY
      * keep around the library name used for opening, add reader
        FOREIGN-LIBRARY-NAME
      eb1bf4a9
  14. Aug 22, 2010
  15. Jan 06, 2010
    • Luís Oliveira's avatar
      cffi-manual: navigation improvements. · 1f07c840
      Luís Oliveira authored
      - Add WITH-FOREIGN-OBJECTS and WITH-FOREIGN-STRINGS to the
        dictionary menus. (This unfortunately seems to require
        specifying the @node declarations in full.)
      - Make the table of contents more manageable by turning
        @unnumberedsecs into @headings.
      - Fix docstring in DEFSTRUCT example.
      1f07c840
  16. Jan 01, 2010
  17. Nov 24, 2009
  18. Aug 23, 2009
  19. Aug 08, 2009
  20. Jun 22, 2009
  21. Jun 16, 2009
  22. May 26, 2009
  23. Apr 07, 2009
    • Luís Oliveira's avatar
      Minor manual fixes. · 3dbb86c8
      Luís Oliveira authored
      - Fixed one of the foreign-funcall-pointer examples.
      - Improved the defcallback description.
      
      Reported by Naveen Garg.
      3dbb86c8
  24. Dec 30, 2008
    • Luís Oliveira's avatar
      manual: miscellaneous improvements · 6f379b25
      Luís Oliveira authored
      - use a roman font for comments in the TeX outputs.
      - fix some typos and missing @lispcmt{}s.
      - insert page breaks before each CLHS-style documentation node.
        This should make it much clearer to read and browse, at the
        expense 23 more pages in total, a ~25% increase.
      6f379b25
  25. Dec 27, 2008
  26. Sep 26, 2008
  27. Aug 22, 2008
  28. Jul 29, 2008