blob: 6b96e797f458cb4826a5c3650474ce7b915c1580 [file] [log] [blame]
// WARNING: This file is machine generated by fidlc.
#include <lib/fidl/internal.h>
extern const struct FidlCodedEnum zx_obj_typeTable;
extern const struct FidlCodedStruct fidl_test_nullable_StructWithNullableVectorTable;
extern const struct FidlCodedStruct fidl_test_nullable_StructWithNullableUnionTable;
extern const struct FidlCodedStruct fidl_test_nullable_StructWithNullableStructTable;
extern const struct FidlCodedStruct fidl_test_nullable_StructWithNullableStringTable;
extern const struct FidlCodedStruct fidl_test_nullable_StructWithNullableRequestTable;
extern const struct FidlCodedStruct fidl_test_nullable_StructWithNullableProtocolTable;
extern const struct FidlCodedStruct fidl_test_nullable_StructWithNullableHandleTable;
extern const struct FidlCodedXUnion fidl_test_nullable_SimpleUnionTable;
extern const struct FidlCodedXUnion fidl_test_nullable_SimpleUnionNullableRefTable;
extern const struct FidlCodedStruct fidl_test_nullable_Int32WrapperTable;
static const struct FidlCodedStructPointer v1_Pointer31fidl_test_nullable_Int32WrapperTable = {.tag=kFidlTypeStructPointer, .struct_type=&fidl_test_nullable_Int32WrapperTable};
static const struct FidlCodedVector Vector4294967295nullable5int32Table = {.tag=kFidlTypeVector, .element=(fidl_type_t*)(&fidl_internal_kInt32Table), .max_count=4294967295u, .element_size=4u, .nullable=kFidlNullability_Nullable};
static const struct FidlCodedString String4294967295nullableTable = {.tag=kFidlTypeString, .max_size=4294967295u, .nullable=kFidlNullability_Nullable};
static const struct FidlCodedHandle Request33fidl_test_nullable_SimpleProtocolnullableTable = {.tag=kFidlTypeHandle, .handle_subtype=ZX_OBJ_TYPE_CHANNEL, .nullable=kFidlNullability_Nullable};
static const struct FidlCodedHandle Protocol33fidl_test_nullable_SimpleProtocolnullableTable = {.tag=kFidlTypeHandle, .handle_subtype=ZX_OBJ_TYPE_CHANNEL, .nullable=kFidlNullability_Nullable};
static const struct FidlCodedHandle HandlevmonullableTable = {.tag=kFidlTypeHandle, .handle_subtype=ZX_OBJ_TYPE_VMO, .handle_rights=2147483648u, .nullable=kFidlNullability_Nullable};
extern const struct FidlCodedStruct fidl_test_nullable_SimpleProtocolAddRequestTable;
const struct FidlCodedStruct fidl_test_nullable_SimpleProtocolAddRequestTable = {.tag=kFidlTypeStruct, .fields=NULL, .field_count=0u, .size=24u, .name="fidl.test.nullable/SimpleProtocolAddRequest"};
extern const struct FidlCodedStruct fidl_test_nullable_SimpleProtocolAddResponseTable;
static const struct FidlStructField Fields44fidl_test_nullable_SimpleProtocolAddResponse[] = {
/*FidlStructField*/{.type=NULL, .padding_offset=20u, .padding=4u}
};
const struct FidlCodedStruct fidl_test_nullable_SimpleProtocolAddResponseTable = {.tag=kFidlTypeStruct, .fields=Fields44fidl_test_nullable_SimpleProtocolAddResponse, .field_count=1u, .size=24u, .name="fidl.test.nullable/SimpleProtocolAddResponse"};
static const struct FidlStructField Fields43fidl_test_nullable_StructWithNullableVector[] = {
/*FidlStructField*/{.type=(fidl_type_t*)(&Vector4294967295nullable5int32Table), .offset=0u, .padding=0u}
};
const struct FidlCodedStruct fidl_test_nullable_StructWithNullableVectorTable = {.tag=kFidlTypeStruct, .fields=Fields43fidl_test_nullable_StructWithNullableVector, .field_count=1u, .size=16u, .name="fidl.test.nullable/StructWithNullableVector"};
static const struct FidlStructField Fields42fidl_test_nullable_StructWithNullableUnion[] = {
/*FidlStructField*/{.type=(fidl_type_t*)(&fidl_test_nullable_SimpleUnionNullableRefTable), .offset=0u, .padding=0u}
};
const struct FidlCodedStruct fidl_test_nullable_StructWithNullableUnionTable = {.tag=kFidlTypeStruct, .fields=Fields42fidl_test_nullable_StructWithNullableUnion, .field_count=1u, .size=24u, .name="fidl.test.nullable/StructWithNullableUnion"};
static const struct FidlStructField Fields43fidl_test_nullable_StructWithNullableStruct[] = {
/*FidlStructField*/{.type=(fidl_type_t*)(&v1_Pointer31fidl_test_nullable_Int32WrapperTable), .offset=0u, .padding=0u}
};
const struct FidlCodedStruct fidl_test_nullable_StructWithNullableStructTable = {.tag=kFidlTypeStruct, .fields=Fields43fidl_test_nullable_StructWithNullableStruct, .field_count=1u, .size=8u, .name="fidl.test.nullable/StructWithNullableStruct"};
static const struct FidlStructField Fields43fidl_test_nullable_StructWithNullableString[] = {
/*FidlStructField*/{.type=(fidl_type_t*)(&String4294967295nullableTable), .offset=0u, .padding=0u}
};
const struct FidlCodedStruct fidl_test_nullable_StructWithNullableStringTable = {.tag=kFidlTypeStruct, .fields=Fields43fidl_test_nullable_StructWithNullableString, .field_count=1u, .size=16u, .name="fidl.test.nullable/StructWithNullableString"};
static const struct FidlStructField Fields44fidl_test_nullable_StructWithNullableRequest[] = {
/*FidlStructField*/{.type=(fidl_type_t*)(&Request33fidl_test_nullable_SimpleProtocolnullableTable), .offset=0u, .padding=0u}
};
const struct FidlCodedStruct fidl_test_nullable_StructWithNullableRequestTable = {.tag=kFidlTypeStruct, .fields=Fields44fidl_test_nullable_StructWithNullableRequest, .field_count=1u, .size=4u, .name="fidl.test.nullable/StructWithNullableRequest"};
static const struct FidlStructField Fields45fidl_test_nullable_StructWithNullableProtocol[] = {
/*FidlStructField*/{.type=(fidl_type_t*)(&Protocol33fidl_test_nullable_SimpleProtocolnullableTable), .offset=0u, .padding=0u}
};
const struct FidlCodedStruct fidl_test_nullable_StructWithNullableProtocolTable = {.tag=kFidlTypeStruct, .fields=Fields45fidl_test_nullable_StructWithNullableProtocol, .field_count=1u, .size=4u, .name="fidl.test.nullable/StructWithNullableProtocol"};
static const struct FidlStructField Fields43fidl_test_nullable_StructWithNullableHandle[] = {
/*FidlStructField*/{.type=(fidl_type_t*)(&HandlevmonullableTable), .offset=0u, .padding=0u}
};
const struct FidlCodedStruct fidl_test_nullable_StructWithNullableHandleTable = {.tag=kFidlTypeStruct, .fields=Fields43fidl_test_nullable_StructWithNullableHandle, .field_count=1u, .size=4u, .name="fidl.test.nullable/StructWithNullableHandle"};
static const struct FidlXUnionField Fields30fidl_test_nullable_SimpleUnion[] = {
/*FidlXUnionField*/{.type=(fidl_type_t*)(&fidl_internal_kInt32Table)},
/*FidlXUnionField*/{.type=(fidl_type_t*)(&fidl_internal_kFloat32Table)}
};
const struct FidlCodedXUnion fidl_test_nullable_SimpleUnionTable = {.tag=kFidlTypeXUnion, .field_count=2u, .fields=Fields30fidl_test_nullable_SimpleUnion, .nullable=kFidlNullability_Nonnullable, .name="fidl.test.nullable/SimpleUnion", .strictness=kFidlStrictness_Strict};
static const struct FidlXUnionField Fields41fidl_test_nullable_SimpleUnionNullableRef[] = {
/*FidlXUnionField*/{.type=(fidl_type_t*)(&fidl_internal_kInt32Table)},
/*FidlXUnionField*/{.type=(fidl_type_t*)(&fidl_internal_kFloat32Table)}
};
const struct FidlCodedXUnion fidl_test_nullable_SimpleUnionNullableRefTable = {.tag=kFidlTypeXUnion, .field_count=2u, .fields=Fields41fidl_test_nullable_SimpleUnionNullableRef, .nullable=kFidlNullability_Nullable, .name="fidl.test.nullable/SimpleUnion", .strictness=kFidlStrictness_Strict};
const struct FidlCodedStruct fidl_test_nullable_Int32WrapperTable = {.tag=kFidlTypeStruct, .fields=NULL, .field_count=0u, .size=4u, .name="fidl.test.nullable/Int32Wrapper"};