mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-02 10:17:51 +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
No EOL
202 B
Lua
12 lines
No EOL
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 |