mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +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
8 lines
190 B
Plaintext
8 lines
190 B
Plaintext
attribute display_name;
|
|
|
|
enum ValAttributes : int
|
|
{
|
|
Val1 = 0 (display_name: "Value 1"),
|
|
Val2 (display_name: "Value 2"),
|
|
Val3 (deprecated, display_name: "Value 3 (deprecated)"),
|
|
} |