summaryrefslogtreecommitdiff
path: root/tests/headers/anon_enum_trait.hpp
diff options
context:
space:
mode:
authorCldfire <cldfire@3grid.net>2017-09-08 20:04:33 -0400
committerCldfire <cldfire@3grid.net>2017-09-11 13:11:44 -0400
commit89915f9536e4ce385683f0bcbcd9150536f9d975 (patch)
tree573ad0aaecf0b1da4650dcae34db374bcfefe969 /tests/headers/anon_enum_trait.hpp
parent4dd4ac75e29d3c1b304c9014df18a8efd35d4553 (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/anon_enum_trait.hpp')
-rw-r--r--tests/headers/anon_enum_trait.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/headers/anon_enum_trait.hpp b/tests/headers/anon_enum_trait.hpp
index 865411e2..6383c748 100644
--- a/tests/headers/anon_enum_trait.hpp
+++ b/tests/headers/anon_enum_trait.hpp
@@ -1,4 +1,4 @@
-// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq
+// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq --rustified-enum .*
template<typename _Tp>
class DataType {