summaryrefslogtreecommitdiff
path: root/tests/monster_test.fbs
diff options
context:
space:
mode:
authorVladimir Glavnyy <31897320+vglavnyy@users.noreply.github.com>2019-05-10 00:07:38 +0700
committerWouter van Oortmerssen <aardappel@gmail.com>2019-05-09 10:07:38 -0700
commitf9ebfcb9c4208d23fdb49cf21c953f5c1e65dfbd (patch)
treef5914711a9e15d702c822ac868124be5d3d78ba1 /tests/monster_test.fbs
parentb701c7d56e82286a71e46405c5335f4be4469099 (diff)
downloadflatbuffers-f9ebfcb9c4208d23fdb49cf21c953f5c1e65dfbd.tar.gz
flatbuffers-f9ebfcb9c4208d23fdb49cf21c953f5c1e65dfbd.tar.bz2
flatbuffers-f9ebfcb9c4208d23fdb49cf21c953f5c1e65dfbd.zip
Make Monster's Color unsigned (#5318)
- update C++ monster_test::Color to unsigned type - update Go Color:ubyte in the go_test.go - add workaround for unsigned enum in java test - sync generate.bat and generate.sh
Diffstat (limited to 'tests/monster_test.fbs')
-rw-r--r--tests/monster_test.fbs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/monster_test.fbs b/tests/monster_test.fbs
index d5718534..082e8504 100644
--- a/tests/monster_test.fbs
+++ b/tests/monster_test.fbs
@@ -14,7 +14,7 @@ namespace MyGame.Example;
attribute "priority";
-enum Color:byte (bit_flags) { Red = 0, Green, Blue = 3, }
+enum Color:ubyte (bit_flags) { Red = 0, Green, Blue = 3, }
union Any { Monster, TestSimpleTableWithEnum, MyGame.Example2.Monster }