diff options
author | Cldfire <cldfire@3grid.net> | 2017-09-08 20:04:33 -0400 |
---|---|---|
committer | Cldfire <cldfire@3grid.net> | 2017-09-11 13:11:44 -0400 |
commit | 89915f9536e4ce385683f0bcbcd9150536f9d975 (patch) | |
tree | 573ad0aaecf0b1da4650dcae34db374bcfefe969 /tests/headers/weird_bitfields.hpp | |
parent | 4dd4ac75e29d3c1b304c9014df18a8efd35d4553 (diff) |
Make bindgen generate enums as constants by default
Also simplifies the logic that determines which enum variation gets chosen.
Diffstat (limited to 'tests/headers/weird_bitfields.hpp')
-rw-r--r-- | tests/headers/weird_bitfields.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/headers/weird_bitfields.hpp b/tests/headers/weird_bitfields.hpp index 68cbf4a5..7236d60a 100644 --- a/tests/headers/weird_bitfields.hpp +++ b/tests/headers/weird_bitfields.hpp @@ -1,3 +1,5 @@ +// bindgen-flags: --rustified-enum .* + // You can guess where this is taken from... enum nsStyleSVGOpacitySource { eStyleSVGOpacitySource_Normal, |