Hi you CFFI gurus out there !
I am having a hard time to understand why CFFI won't accept the following definition on AllegroCL 8.1 on Mac OS X (10.5.6):
(defctype magick_int64_t :long-long) ;; This goes ok (defctype MagickSizeType magick_int64_t) ;; This goes ok
(defcfun "MagickGetImageSize" MagickSizeType (wand :pointer))
This last definition produces the error
:LONG-LONG fell through a ECASE form. The valid cases were :CHAR, :UNSIGNED-CHAR, :SHORT, :UNSIGNED-SHORT, :INT, :UNSIGNED-INT, :LONG, :UNSIGNED-LONG, :FLOAT, :DOUBLE, :POINTER, and :VOID. [Condition of type EXCL:CASE-FAILURE]
Looking into cffi/src/types.h I find that even on systems where :no- long-long is given an emulation should kick in...
... Any hints/pointers really appreciated ... Thanks!!!
Best,
Frank
-- Frank Goenninger
Cell: +49 175 4321058 E-Mail: frgo@me.com