Hi,

I've just started to explore Factor, something that has been in my TODO list quite a while.

I decided to attempt to write a C library wrapper, and the first thing I noticed is the lack of a C-ENUM-FROM construct, i.e:

10 C-ENUM-FROM: a b c ;

So that:
a == 10
b == 11
c == 12

Is this patch The Right Way to do it?

Greetings,
  Jorge Acereda

Attachment: patch
Description: Binary data



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to