Re: Anohter little question on using c2hs

2000-09-28 Thread Manuel M. T. Chakravarty
Jose Romildo Malaquias <[EMAIL PROTECTED]> wrote, > I want to import some constants fromm a C header file > that was defined as macros (using #define statements), > with the c2hs program (latest from CVS). > > The paper "C->Haskell, or Yet Another Interfacing Tool", > by Manuel Chakravarty, tell

Anohter little question on using c2hs

2000-09-28 Thread Jose Romildo Malaquias
Hello. I want to import some constants fromm a C header file that was defined as macros (using #define statements), with the c2hs program (latest from CVS). The paper "C->Haskell, or Yet Another Interfacing Tool", by Manuel Chakravarty, tells me that it can be done with something like {#enum