Hi, Thanks you Jamie, i can access my enum !
I have a simple question about enum, why if i change 'value1 = 15' by 'value1 = "15"', valac does not return an error, only gcc (error: enumerator value for 'ENUM_TEST_value1' is not an integer constant)
[indent=4]
enum EnumTest
value1 = 15
init
print ("%d", EnumTest.value1)
Thanks in advance,
Nicolas.
_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list
