unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Enumeration in GUILE
@ 2003-10-09  7:25 dv.praveen
  2003-10-09 11:27 ` Andreas Rottmann
  2003-10-09 11:32 ` Thien-Thi Nguyen
  0 siblings, 2 replies; 3+ messages in thread
From: dv.praveen @ 2003-10-09  7:25 UTC (permalink / raw)


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?

regards,
Praveen


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-09 11:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-09  7:25 Enumeration in GUILE dv.praveen
2003-10-09 11:27 ` Andreas Rottmann
2003-10-09 11:32 ` Thien-Thi Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).