diff options
Diffstat (limited to 'bindgen-tests/tests/headers/constify-enum.h')
-rw-r--r-- | bindgen-tests/tests/headers/constify-enum.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bindgen-tests/tests/headers/constify-enum.h b/bindgen-tests/tests/headers/constify-enum.h new file mode 100644 index 00000000..b8e0be3e --- /dev/null +++ b/bindgen-tests/tests/headers/constify-enum.h @@ -0,0 +1,14 @@ +// bindgen-flags: --rustified-enum ".*" + +enum nsCSSPropertyID { + eCSSProperty_a, + eCSSProperty_b, + + eCSSProperty_COUNT, /**< <div rustbindgen constant></div> */ + eCSSProperty_COUNT_DUMMY2 = eCSSProperty_COUNT - 1, /**< <div rustbindgen hide></div> */ + + eCSSPropertyAlias_aa, + eCSSPropertyAlias_bb, + + eCSSProperty_COUNT_unexistingVariantValue, /**< <div rustbindgen constant></div> */ +}; |