I
Iñaki Baz Castillo
Hi, writting a Ruby C extension (for 1.8 or 1.9) I get an error when using=
=20
"enum":
#include "ruby.h"
int void(void) {
enum kk {ONE, TWO, THREE}; // line 3
}
line 3: error: expected identifier before =E2=80=98(=E2=80=99 token
It doesn't occur if I quit "ruby.h". What is happening?
Thanks.
=2D-=20
I=C3=B1aki Baz Castillo <[email protected]>
=20
"enum":
#include "ruby.h"
int void(void) {
enum kk {ONE, TWO, THREE}; // line 3
}
line 3: error: expected identifier before =E2=80=98(=E2=80=99 token
It doesn't occur if I quit "ruby.h". What is happening?
Thanks.
=2D-=20
I=C3=B1aki Baz Castillo <[email protected]>