Enumerated types

Sun, 08 Jun 1997 21:42:42 +0800


Is it possible to specify the value of an enumerated type? I was trying to
port a C header file which did something like this:

    typedef enum hello_everybody {
        hello_error = -1,
        hello_first =  0,
        hello_second,
        hello_third
        ...

Can this be done with GPC?

Thanks

 ________________________
|  _)        | |             e-mail: bernie@icenet.com.au
|___)ernhard |_|schirren             ptschirrenb@cc.curtin.edu.au
                             www:    www.geocities.com/CollegePark/Quad/8070/


Bernhard Tschirren (bernie@icenet.com.au)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es