[Vala] Is has_type_id = false needed in a VAPI binding of an enum?
- From: Al Thomas <astavale yahoo co uk>
- To: vala-list <vala-list gnome org>
- Subject: [Vala] Is has_type_id = false needed in a VAPI binding of an enum?
- Date: Tue, 28 Apr 2015 10:40:38 +0000 (UTC)
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]