mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 12:05:50 +00:00
* wrap quotes to enum name map to prevent syntax errorn when enum value is negative * Add a test that covers signed enum case
12 lines
202 B
Lua
12 lines
202 B
Lua
-- automatically generated by the FlatBuffers compiler, do not modify
|
|
|
|
-- namespace: Example
|
|
|
|
local Race = {
|
|
None = -1,
|
|
Human = 0,
|
|
Dwarf = 1,
|
|
Elf = 2,
|
|
}
|
|
|
|
return Race -- return the module |