[fetter-devel] problem with arrays?

Carlos Ungil ungil at mac.com
Fri Sep 2 10:05:44 UTC 2005


Hello,

I don't know if you're aware of this problem, I'm reporting it just in 
case.

 From files

-----[array.binding]-----
(defbinding "array-library"
     (nicknames "array")
   (include "array.h"))
----------

and

-----[array.h]-----
typedef char char_array[10];
----------

(verrazano:create-binding "array.binding" "array-library.lisp" 
:cffi-backend t)
produces the following output:

-----[array-library.lisp]-----
(defpackage "ARRAY-LIBRARY" (:use #:COMMON-LISP #:CFFI) (:nicknames 
"ARRAY")
  (:export))

(asdf:operate 'asdf:load-op 'verrazano-support)
(cffi:define-foreign-type char-array () 'anonymous12)
(progn)
----------

Anonymous12 is not defined anywhere; is this a bug or am I missing 
something?

Cheers,

Carlos




More information about the fetter-devel mailing list