chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] define-foreign-enum with a typedef


From: felix winkelmann
Subject: Re: [Chicken-users] define-foreign-enum with a typedef
Date: Thu, 13 Dec 2007 09:19:42 +0100

On Dec 13, 2007 8:36 AM, Shawn Rutledge <address@hidden> wrote:
> On Dec 13, 2007 12:34 AM, felix winkelmann <address@hidden> wrote:
> > "define-foreign-enum" expands into "define-foreign-variable", which
> > are not exported, they can be considered something similar to syntax.
>
> OK.  What's the best way to have them be exported then?
>

Something like

(define enum-value-1 real-enum-value-1)

which is rather crude, I'm afraid (I'll try to come up with something
better).


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]