| // WARNING: This file is machine generated by fidlc. |
| |
| #include <lib/fidl/internal.h> |
| |
| |
| __LOCAL extern const struct FidlCodedXUnion test_newtype_UnionTable; |
| __LOCAL extern const struct FidlCodedXUnion test_newtype_UnionNullableRefTable; |
| __LOCAL extern const struct FidlCodedTable test_newtype_TableTable; |
| __LOCAL extern const struct FidlCodedStruct test_newtype_StructTable; |
| __LOCAL extern const struct FidlCodedEnum test_newtype_EnumTable; |
| __LOCAL extern const struct FidlCodedStruct test_newtype_CalculatorAddTopResponseTable; |
| __LOCAL extern const struct FidlCodedStruct test_newtype_CalculatorAddRequestTable; |
| __LOCAL extern const struct FidlCodedStruct test_newtype_CalculatorAddRequestMessageTable; |
| __LOCAL extern const struct FidlCodedStruct test_newtype_CalculatorAddResponseMessageTable; |
| __LOCAL extern const struct FidlCodedBits test_newtype_BitsTable; |
| |
| static const struct FidlCodedStructPointer Pointer19test_newtype_StructTable = {.tag=kFidlTypeStructPointer, .struct_type=&test_newtype_StructTable}; |
| |
| static const struct FidlCodedVector Vector4294967295nonnullable18test_newtype_UnionTable = {.tag=kFidlTypeVector, .element=(fidl_type_t*)(&test_newtype_UnionTable), .max_count=4294967295u, .element_size_v2=16u, .nullable=kFidlNullability_Nonnullable, .element_memcpy_compatibility=kFidlMemcpyCompatibility_CannotMemcpy}; |
| |
| static const struct FidlCodedHandle Request23test_newtype_CalculatornullableTable = {.tag=kFidlTypeHandle, .handle_subtype=ZX_OBJ_TYPE_CHANNEL, .handle_rights=ZX_DEFAULT_CHANNEL_RIGHTS, .nullable=kFidlNullability_Nullable}; |
| |
| static const struct FidlCodedHandle Request23test_newtype_CalculatornonnullableTable = {.tag=kFidlTypeHandle, .handle_subtype=ZX_OBJ_TYPE_CHANNEL, .handle_rights=ZX_DEFAULT_CHANNEL_RIGHTS, .nullable=kFidlNullability_Nonnullable}; |
| |
| static const struct FidlCodedHandle Protocol23test_newtype_CalculatornonnullableTable = {.tag=kFidlTypeHandle, .handle_subtype=ZX_OBJ_TYPE_CHANNEL, .handle_rights=ZX_DEFAULT_CHANNEL_RIGHTS, .nullable=kFidlNullability_Nonnullable}; |
| |
| static const struct FidlCodedString String4294967295nonnullableTable = {.tag=kFidlTypeString, .max_size=4294967295u, .nullable=kFidlNullability_Nonnullable}; |
| |
| |
| static const struct FidlXUnionField Fields18test_newtype_Union[] = { |
| /*FidlXUnionField*/{.type=(fidl_type_t*)(&fidl_internal_kBoolTable)} |
| }; |
| const struct FidlCodedXUnion test_newtype_UnionTable = {.tag=kFidlTypeXUnion, .field_count=1u, .fields=Fields18test_newtype_Union, .nullable=kFidlNullability_Nonnullable, .name="test.newtype/Union", .strictness=kFidlStrictness_Flexible, .is_resource=kFidlIsResource_NotResource}; |
| static const struct FidlXUnionField Fields29test_newtype_UnionNullableRef[] = { |
| /*FidlXUnionField*/{.type=(fidl_type_t*)(&fidl_internal_kBoolTable)} |
| }; |
| const struct FidlCodedXUnion test_newtype_UnionNullableRefTable = {.tag=kFidlTypeXUnion, .field_count=1u, .fields=Fields29test_newtype_UnionNullableRef, .nullable=kFidlNullability_Nullable, .name="test.newtype/Union", .strictness=kFidlStrictness_Flexible, .is_resource=kFidlIsResource_NotResource}; |
| const struct FidlCodedTable test_newtype_TableTable = {.tag=kFidlTypeTable, .fields=NULL, .field_count=0u, .is_resource=kFidlIsResource_NotResource, .name="test.newtype/Table"}; |
| |
| static const struct FidlStructElement Fields19test_newtype_Struct[] = { |
| /*FidlStructPadding*/{.field=/*FidlStructField*/{.header=/*FidlStructElementHeader*/{.element_type=kFidlStructElementType_Field, .is_resource=kFidlIsResource_NotResource},.offset_v2=0u, .field_type=(fidl_type_t*)(&String4294967295nonnullableTable)}} |
| }; |
| const struct FidlCodedStruct test_newtype_StructTable = {.tag=kFidlTypeStruct, .contains_envelope=kFidlContainsEnvelope_DoesNotContainEnvelope, .is_empty=kFidlEmpty_IsNotEmpty, .elements=Fields19test_newtype_Struct, .element_count=1u, .size_v2=16u, .name="test.newtype/Struct"}; |
| |
| const struct FidlCodedEnum test_newtype_EnumTable = {.tag=kFidlTypeEnum, .underlying_type=kFidlCodedPrimitiveSubtype_Uint32, .strictness=kFidlStrictness_Flexible, .validate=NULL, .name="test.newtype/Enum"}; |
| |
| const struct FidlCodedStruct test_newtype_CalculatorAddTopResponseTable = {.tag=kFidlTypeStruct, .contains_envelope=kFidlContainsEnvelope_DoesNotContainEnvelope, .is_empty=kFidlEmpty_IsNotEmpty, .elements=NULL, .element_count=0u, .size_v2=4u, .name="test.newtype/CalculatorAddTopResponse"}; |
| |
| const struct FidlCodedStruct test_newtype_CalculatorAddRequestTable = {.tag=kFidlTypeStruct, .contains_envelope=kFidlContainsEnvelope_DoesNotContainEnvelope, .is_empty=kFidlEmpty_IsNotEmpty, .elements=NULL, .element_count=0u, .size_v2=8u, .name="test.newtype/CalculatorAddRequest"}; |
| |
| const struct FidlCodedStruct test_newtype_CalculatorAddRequestMessageTable = {.tag=kFidlTypeStruct, .contains_envelope=kFidlContainsEnvelope_DoesNotContainEnvelope, .is_empty=kFidlEmpty_IsNotEmpty, .elements=NULL, .element_count=0u, .size_v2=8u, .name="test.newtype/CalculatorAddRequestMessage"}; |
| |
| const struct FidlCodedStruct test_newtype_CalculatorAddResponseMessageTable = {.tag=kFidlTypeStruct, .contains_envelope=kFidlContainsEnvelope_DoesNotContainEnvelope, .is_empty=kFidlEmpty_IsNotEmpty, .elements=NULL, .element_count=0u, .size_v2=4u, .name="test.newtype/CalculatorAddResponseMessage"}; |
| |
| const struct FidlCodedBits test_newtype_BitsTable = {.tag=kFidlTypeBits, .underlying_type=kFidlCodedPrimitiveSubtype_Uint32, .strictness=kFidlStrictness_Flexible, .mask=1ul, .name="test.newtype/Bits"}; |
| |