[Top][All Lists]

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

Re: Enumeration in GUILE

From: Andreas Rottmann
Subject: Re: Enumeration in GUILE
Date: Thu, 09 Oct 2003 13:27:20 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

address@hidden writes:

> hi all,
> I am creating new data types using smobs
> in my application.  In the process I have
> used some enums like
> typedef enum { FIRST, SECOND, THIRD, NONE) CHOICE;
> Is it possible to get these enums recognized by GUILE.
> For instance, I have my own function,
> "my-choice-is" which I would like to use it as.
> guile> (my-choice-is FIRST)
> If it is not possible is there a hack how I can use
> it?
You may want to have a look at g-wrap, which is able to do this.

Regards, Andy
Andreas Rottmann         | address@hidden      | address@hidden | address@hidden | GnuPG Key:
Fingerprint              | DFB4 4EB4 78A4 5EEE 6219  F228 F92F CFC5 01FD 5B62

Make free software, not war!

reply via email to

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