mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-22 05:38:28 +00:00
* Add support for metadata attributes for enum values (#7567) * Fix path lookup in flatc test * Try a fix for Windows paths * Convert path to string to fix Windows error
This commit is contained in:
8
tests/flatc/enum_val_attributes.fbs
Normal file
8
tests/flatc/enum_val_attributes.fbs
Normal file
@@ -0,0 +1,8 @@
|
||||
attribute display_name;
|
||||
|
||||
enum ValAttributes : int
|
||||
{
|
||||
Val1 = 0 (display_name: "Value 1"),
|
||||
Val2 (display_name: "Value 2"),
|
||||
Val3 (deprecated, display_name: "Value 3 (deprecated)"),
|
||||
}
|
||||
Reference in New Issue
Block a user