11#ifndef REFLECTION_BUILDER_H
22#define REFLECTION_BUILDER_H
33
4- /* Generated by flatcc 0.4.1-pre FlatBuffers schema compiler for C by dvide.com */
4+ /* Generated by flatcc 0.4.1 FlatBuffers schema compiler for C by dvide.com */
55
66#ifndef REFLECTION_READER_H
77#include "reflection_reader.h"
2020#define __reflection_BaseType_call_args , v0
2121__flatbuffers_build_scalar (flatbuffers_ , reflection_BaseType , reflection_BaseType_enum_t )
2222
23- static const flatbuffers_voffset_t __reflection_Type_required [] = {0 };
23+ static const flatbuffers_voffset_t __reflection_Type_required [] = { 0 };
2424__flatbuffers_build_table (flatbuffers_ , reflection_Type , 3 )
2525static const flatbuffers_voffset_t __reflection_EnumVal_required [] = { 0 , 0 };
2626__flatbuffers_build_table (flatbuffers_ , reflection_EnumVal , 3 )
@@ -59,9 +59,9 @@ static inline reflection_Object_ref_t reflection_Object_create(flatbuffers_build
5959 v0, v1, v2, v3, v4
6060static inline reflection_Schema_ref_t reflection_Schema_create (flatbuffers_builder_t * B __reflection_Schema_formal_args );
6161
62- __flatbuffers_build_scalar_field (0 , flatbuffers_ , reflection_Type_base_type , reflection_BaseType , reflection_BaseType_enum_t , 1 , 1 , 0 )
63- __flatbuffers_build_scalar_field (1 , flatbuffers_ , reflection_Type_element , reflection_BaseType , reflection_BaseType_enum_t , 1 , 1 , 0 )
64- __flatbuffers_build_scalar_field (2 , flatbuffers_ , reflection_Type_index , flatbuffers_int32 , int32_t , 4 , 4 , -1 )
62+ __flatbuffers_build_scalar_field (0 , flatbuffers_ , reflection_Type_base_type , reflection_BaseType , reflection_BaseType_enum_t , 1 , 1 , INT8_C ( 0 ) )
63+ __flatbuffers_build_scalar_field (1 , flatbuffers_ , reflection_Type_element , reflection_BaseType , reflection_BaseType_enum_t , 1 , 1 , INT8_C ( 0 ) )
64+ __flatbuffers_build_scalar_field (2 , flatbuffers_ , reflection_Type_index , flatbuffers_int32 , int32_t , 4 , 4 , INT32_C ( -1 ) )
6565
6666static inline reflection_Type_ref_t reflection_Type_create (flatbuffers_builder_t * B __reflection_Type_formal_args )
6767{
@@ -76,7 +76,7 @@ static inline reflection_Type_ref_t reflection_Type_create(flatbuffers_builder_t
7676__flatbuffers_build_table_prolog (flatbuffers_ , reflection_Type , reflection_Type_identifier , reflection_Type_type_identifier )
7777
7878__flatbuffers_build_string_field (0 , flatbuffers_ , reflection_EnumVal_name )
79- __flatbuffers_build_scalar_field (1 , flatbuffers_ , reflection_EnumVal_value , flatbuffers_int64 , int64_t , 8 , 8 , 0 )
79+ __flatbuffers_build_scalar_field (1 , flatbuffers_ , reflection_EnumVal_value , flatbuffers_int64 , int64_t , 8 , 8 , INT64_C ( 0 ) )
8080__flatbuffers_build_table_field (2 , flatbuffers_ , reflection_EnumVal_object , reflection_Object )
8181
8282static inline reflection_EnumVal_ref_t reflection_EnumVal_create (flatbuffers_builder_t * B __reflection_EnumVal_formal_args )
@@ -94,7 +94,7 @@ __flatbuffers_build_table_prolog(flatbuffers_, reflection_EnumVal, reflection_En
9494__flatbuffers_build_string_field (0 , flatbuffers_ , reflection_Enum_name )
9595/* vector has keyed elements */
9696__flatbuffers_build_table_vector_field (1 , flatbuffers_ , reflection_Enum_values , reflection_EnumVal )
97- __flatbuffers_build_scalar_field (2 , flatbuffers_ , reflection_Enum_is_union , flatbuffers_bool , flatbuffers_bool_t , 1 , 1 , 0 )
97+ __flatbuffers_build_scalar_field (2 , flatbuffers_ , reflection_Enum_is_union , flatbuffers_bool , flatbuffers_bool_t , 1 , 1 , UINT8_C ( 0 ) )
9898__flatbuffers_build_table_field (3 , flatbuffers_ , reflection_Enum_underlying_type , reflection_Type )
9999
100100static inline reflection_Enum_ref_t reflection_Enum_create (flatbuffers_builder_t * B __reflection_Enum_formal_args )
@@ -112,13 +112,13 @@ __flatbuffers_build_table_prolog(flatbuffers_, reflection_Enum, reflection_Enum_
112112
113113__flatbuffers_build_string_field (0 , flatbuffers_ , reflection_Field_name )
114114__flatbuffers_build_table_field (1 , flatbuffers_ , reflection_Field_type , reflection_Type )
115- __flatbuffers_build_scalar_field (2 , flatbuffers_ , reflection_Field_id , flatbuffers_uint16 , uint16_t , 2 , 2 , 0 )
116- __flatbuffers_build_scalar_field (3 , flatbuffers_ , reflection_Field_offset , flatbuffers_uint16 , uint16_t , 2 , 2 , 0 )
117- __flatbuffers_build_scalar_field (4 , flatbuffers_ , reflection_Field_default_integer , flatbuffers_int64 , int64_t , 8 , 8 , 0 )
118- __flatbuffers_build_scalar_field (5 , flatbuffers_ , reflection_Field_default_real , flatbuffers_double , double , 8 , 8 , 0 )
119- __flatbuffers_build_scalar_field (6 , flatbuffers_ , reflection_Field_deprecated , flatbuffers_bool , flatbuffers_bool_t , 1 , 1 , 0 )
120- __flatbuffers_build_scalar_field (7 , flatbuffers_ , reflection_Field_required , flatbuffers_bool , flatbuffers_bool_t , 1 , 1 , 0 )
121- __flatbuffers_build_scalar_field (8 , flatbuffers_ , reflection_Field_key , flatbuffers_bool , flatbuffers_bool_t , 1 , 1 , 0 )
115+ __flatbuffers_build_scalar_field (2 , flatbuffers_ , reflection_Field_id , flatbuffers_uint16 , uint16_t , 2 , 2 , UINT16_C ( 0 ) )
116+ __flatbuffers_build_scalar_field (3 , flatbuffers_ , reflection_Field_offset , flatbuffers_uint16 , uint16_t , 2 , 2 , UINT16_C ( 0 ) )
117+ __flatbuffers_build_scalar_field (4 , flatbuffers_ , reflection_Field_default_integer , flatbuffers_int64 , int64_t , 8 , 8 , INT64_C ( 0 ) )
118+ __flatbuffers_build_scalar_field (5 , flatbuffers_ , reflection_Field_default_real , flatbuffers_double , double , 8 , 8 , 0.000000 )
119+ __flatbuffers_build_scalar_field (6 , flatbuffers_ , reflection_Field_deprecated , flatbuffers_bool , flatbuffers_bool_t , 1 , 1 , UINT8_C ( 0 ) )
120+ __flatbuffers_build_scalar_field (7 , flatbuffers_ , reflection_Field_required , flatbuffers_bool , flatbuffers_bool_t , 1 , 1 , UINT8_C ( 0 ) )
121+ __flatbuffers_build_scalar_field (8 , flatbuffers_ , reflection_Field_key , flatbuffers_bool , flatbuffers_bool_t , 1 , 1 , UINT8_C ( 0 ) )
122122
123123static inline reflection_Field_ref_t reflection_Field_create (flatbuffers_builder_t * B __reflection_Field_formal_args )
124124{
@@ -141,9 +141,9 @@ __flatbuffers_build_table_prolog(flatbuffers_, reflection_Field, reflection_Fiel
141141__flatbuffers_build_string_field (0 , flatbuffers_ , reflection_Object_name )
142142/* vector has keyed elements */
143143__flatbuffers_build_table_vector_field (1 , flatbuffers_ , reflection_Object_fields , reflection_Field )
144- __flatbuffers_build_scalar_field (2 , flatbuffers_ , reflection_Object_is_struct , flatbuffers_bool , flatbuffers_bool_t , 1 , 1 , 0 )
145- __flatbuffers_build_scalar_field (3 , flatbuffers_ , reflection_Object_minalign , flatbuffers_int32 , int32_t , 4 , 4 , 0 )
146- __flatbuffers_build_scalar_field (4 , flatbuffers_ , reflection_Object_bytesize , flatbuffers_int32 , int32_t , 4 , 4 , 0 )
144+ __flatbuffers_build_scalar_field (2 , flatbuffers_ , reflection_Object_is_struct , flatbuffers_bool , flatbuffers_bool_t , 1 , 1 , UINT8_C ( 0 ) )
145+ __flatbuffers_build_scalar_field (3 , flatbuffers_ , reflection_Object_minalign , flatbuffers_int32 , int32_t , 4 , 4 , INT32_C ( 0 ) )
146+ __flatbuffers_build_scalar_field (4 , flatbuffers_ , reflection_Object_bytesize , flatbuffers_int32 , int32_t , 4 , 4 , INT32_C ( 0 ) )
147147
148148static inline reflection_Object_ref_t reflection_Object_create (flatbuffers_builder_t * B __reflection_Object_formal_args )
149149{
0 commit comments