summaryrefslogtreecommitdiff
path: root/tests/headers/nsStyleAutoArray.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/nsStyleAutoArray.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/nsStyleAutoArray.hpp')
-rw-r--r--tests/headers/nsStyleAutoArray.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/headers/nsStyleAutoArray.hpp b/tests/headers/nsStyleAutoArray.hpp
index 950152c0..2a0bc216 100644
--- a/tests/headers/nsStyleAutoArray.hpp
+++ b/tests/headers/nsStyleAutoArray.hpp
@@ -1,3 +1,4 @@
+// bindgen-flags: --rustified-enum .*
template<typename T>
class nsTArray {