blob: 253d7ffb4047bfab9cd84842fb74079a8d3440ad [file] [log] [blame]
// WARNING: This file is machine generated by fidlc.
#include <lib/fidl/internal.h>
extern const struct FidlCodedStruct exampleusing_EmptyTable;
extern const struct FidlCodedXUnion example_ExampleXUnionTable;
extern const struct FidlCodedXUnion example_ExampleXUnionNullableRefTable;
extern const struct FidlCodedXUnion example_ExampleUnionTable;
extern const struct FidlCodedXUnion example_ExampleUnionNullableRefTable;
extern const struct FidlCodedTable example_ExampleTableTable;
extern const struct FidlCodedStruct example_ExampleStructTable;
extern const struct FidlCodedEnum example_ExampleEnumTable;
extern const struct FidlCodedBits example_ExampleBitsTable;
extern const struct FidlCodedStruct example_ExampleProtocolMethodRequestTable;
static const struct FidlStructField Fields36example_ExampleProtocolMethodRequest[] = {
/*FidlStructField*/{.type=(fidl_type_t*)(&exampleusing_EmptyTable), .offset=16u, .padding=7u}
};
const struct FidlCodedStruct example_ExampleProtocolMethodRequestTable = {.tag=kFidlTypeStruct, .fields=Fields36example_ExampleProtocolMethodRequest, .field_count=1u, .size=24u, .name="example/ExampleProtocolMethodRequest"};
static const struct FidlXUnionField Fields21example_ExampleXUnion[] = {
/*FidlXUnionField*/{.type=(fidl_type_t*)(&fidl_internal_kUint32Table)}
};
const struct FidlCodedXUnion example_ExampleXUnionTable = {.tag=kFidlTypeXUnion, .field_count=1u, .fields=Fields21example_ExampleXUnion, .nullable=kFidlNullability_Nonnullable, .name="example/ExampleXUnion", .strictness=kFidlStrictness_Flexible};
static const struct FidlXUnionField Fields32example_ExampleXUnionNullableRef[] = {
/*FidlXUnionField*/{.type=(fidl_type_t*)(&fidl_internal_kUint32Table)}
};
const struct FidlCodedXUnion example_ExampleXUnionNullableRefTable = {.tag=kFidlTypeXUnion, .field_count=1u, .fields=Fields32example_ExampleXUnionNullableRef, .nullable=kFidlNullability_Nullable, .name="example/ExampleXUnion", .strictness=kFidlStrictness_Flexible};
static const struct FidlXUnionField Fields20example_ExampleUnion[] = {
/*FidlXUnionField*/{.type=(fidl_type_t*)(&fidl_internal_kUint32Table)}
};
const struct FidlCodedXUnion example_ExampleUnionTable = {.tag=kFidlTypeXUnion, .field_count=1u, .fields=Fields20example_ExampleUnion, .nullable=kFidlNullability_Nonnullable, .name="example/ExampleUnion", .strictness=kFidlStrictness_Strict};
static const struct FidlXUnionField Fields31example_ExampleUnionNullableRef[] = {
/*FidlXUnionField*/{.type=(fidl_type_t*)(&fidl_internal_kUint32Table)}
};
const struct FidlCodedXUnion example_ExampleUnionNullableRefTable = {.tag=kFidlTypeXUnion, .field_count=1u, .fields=Fields31example_ExampleUnionNullableRef, .nullable=kFidlNullability_Nullable, .name="example/ExampleUnion", .strictness=kFidlStrictness_Strict};
static const struct FidlTableField Fields20example_ExampleTable[] = {
/*FidlTableField*/{.type=(fidl_type_t*)(&fidl_internal_kUint32Table), .ordinal=1u}
};
const struct FidlCodedTable example_ExampleTableTable = {.tag=kFidlTypeTable, .fields=Fields20example_ExampleTable, .field_count=1u, .name="example/ExampleTable"};
const struct FidlCodedStruct example_ExampleStructTable = {.tag=kFidlTypeStruct, .fields=NULL, .field_count=0u, .size=4u, .name="example/ExampleStruct"};
static bool EnumValidatorFor_example_ExampleEnum(uint64_t v) { return (v == 1ul) || false; }
const struct FidlCodedEnum example_ExampleEnumTable = {.tag=kFidlTypeEnum, .underlying_type=kFidlCodedPrimitiveSubtype_Uint32, .validate=&EnumValidatorFor_example_ExampleEnum, .name="example/ExampleEnum"};
const struct FidlCodedBits example_ExampleBitsTable = {.tag=kFidlTypeBits, .underlying_type=kFidlCodedPrimitiveSubtype_Uint32, .mask=1ul, .name="example/ExampleBits"};