diff options
author | kostya-sh <kostya-sh@users.noreply.github.com> | 2018-10-16 00:55:59 +0100 |
---|---|---|
committer | Robert <rw@users.noreply.github.com> | 2018-10-15 16:55:59 -0700 |
commit | 76d31e1b5e223e4600bf8298ef9224d2642f51ca (patch) | |
tree | 9868c3ae68a61b5638fc8ddc441901dcfa6e2fad /include/flatbuffers/idl.h | |
parent | 20396a1760dc7d847a84f153ecde73fde9d70388 (diff) | |
download | flatbuffers-76d31e1b5e223e4600bf8298ef9224d2642f51ca.tar.gz |
Go - Use Go bool type for bool fields (#4962)
* Use Go bool type for bool fields, and store non-default bool field to test data
Diffstat (limited to 'include/flatbuffers/idl.h')
-rw-r--r-- | include/flatbuffers/idl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/flatbuffers/idl.h b/include/flatbuffers/idl.h index e1c75989..c00bdb9c 100644 --- a/include/flatbuffers/idl.h +++ b/include/flatbuffers/idl.h @@ -49,7 +49,7 @@ namespace flatbuffers { #define FLATBUFFERS_GEN_TYPES_SCALAR(TD) \ TD(NONE, "", uint8_t, byte, byte, byte, uint8, u8) \ TD(UTYPE, "", uint8_t, byte, byte, byte, uint8, u8) /* begin scalar/int */ \ - TD(BOOL, "bool", uint8_t, boolean,byte, bool, bool, bool) \ + TD(BOOL, "bool", uint8_t, boolean,bool, bool, bool, bool) \ TD(CHAR, "byte", int8_t, byte, int8, sbyte, int8, i8) \ TD(UCHAR, "ubyte", uint8_t, byte, byte, byte, uint8, u8) \ TD(SHORT, "short", int16_t, short, int16, short, int16, i16) \ |