[Vala] Is has_type_id = false needed in a VAPI binding of an enum?



I'm pretty sure has_type_id = false isn't needed in an enum mapping in a VAPI file.
I have tried both false and true values and there is no difference in the running
of the test program I created. The test program just just prints the enum values. 
I have also binary compared the program and both versions are identical. So I'm 
pretty sure it isn't needed, but before I remove those particular CCode attributes 
from the enum examples in 
https://wiki.gnome.org/Projects/Vala/LegacyBindings
I wanted to check here.

I am aware aware has_type_id does generate different output when the enum is in
a Vala program file.


Regards,

Al


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]