[cffi-devel] defcenum values not evaluated

Lawrence Nakamura ln at imap.cc
Tue May 15 04:51:51 UTC 2007


Hi cffi-devel,
In the defcenum macro, the values don't seem to be evaluated. Is this
behavior a bug or a feature?

On clisp,

[4]> (cffi:defcenum test 
       (:a 1) 
       (:b (* 2 2)))

*** - The value of CFFI::VALUE should be of type INTEGER.
      The value is: (* 2 2)

thanks,
Lawrence Nakamura



More information about the cffi-devel mailing list