Re: question about def-enum

Kevin Rosenberg <kevin-HJRc7zDS/[email protected]> Mon, 25 Aug 2003 12:47:52 -0600
Newsgroups gmane.lisp.uffi.general
Message-ID <[email protected]>
Lam wrote:
> if i have this on the .h :
> typedef enum {
> CONSTANT_A = CONSTANT_B + 14,
> } foo
> 
> can i do this :
> 
> (uffi:def-enum foo
>                ((...) 
>                 (constant-a :(+ constant-b 14))))

I doubt it. You can try, but UFFI wasn't designed to do that. If it
works, it's only by accident.

Kevin