forked from BigfootDev/flatbuffers
Fix expected type of enum values in reflection tables (#4944)
Fixes #4930
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
a4c362a1ba
commit
a4f9d1bfcc
@@ -2470,7 +2470,7 @@ struct TypeTable {
|
||||
size_t num_elems; // of type_codes, values, names (but not type_refs).
|
||||
const TypeCode *type_codes; // num_elems count
|
||||
const TypeFunction *type_refs; // less than num_elems entries (see TypeCode).
|
||||
const int32_t *values; // Only set for non-consecutive enum/union or structs.
|
||||
const int64_t *values; // Only set for non-consecutive enum/union or structs.
|
||||
const char * const *names; // Only set if compiled with --reflect-names.
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user