[cffi-devel] :long-long on AllegroCL on Mac OS X ???

Frank Goenninger frgo at me.com
Wed Apr 29 06:18:38 UTC 2009


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 at me.com









More information about the cffi-devel mailing list