| // WARNING: This file is machine generated by fidlc. |
| |
| #include <lib/fidl/internal.h> |
| |
| |
| extern const struct FidlCodedStruct fidl_test_json_Example_foo_ResponseTable; |
| extern const struct FidlCodedXUnion fidl_test_json_Example_foo_ResultTable; |
| extern const struct FidlCodedXUnion fidl_test_json_Example_foo_ResultNullableRefTable; |
| |
| |
| static const struct FidlCodedString String4294967295nonnullableTable = {.tag=kFidlTypeString, .max_size=4294967295u, .nullable=kFidlNullability_Nonnullable}; |
| |
| extern const struct FidlCodedStruct fidl_test_json_ExamplefooRequestTable; |
| static const struct FidlStructField Fields32fidl_test_json_ExamplefooRequest[] = { |
| /*FidlStructField*/{.type=(fidl_type_t*)(&String4294967295nonnullableTable), .offset=16u, .padding=0u} |
| }; |
| const struct FidlCodedStruct fidl_test_json_ExamplefooRequestTable = {.tag=kFidlTypeStruct, .fields=Fields32fidl_test_json_ExamplefooRequest, .field_count=1u, .size=32u, .name="fidl.test.json/ExamplefooRequest"}; |
| |
| extern const struct FidlCodedStruct fidl_test_json_ExamplefooResponseTable; |
| static const struct FidlStructField Fields33fidl_test_json_ExamplefooResponse[] = { |
| /*FidlStructField*/{.type=(fidl_type_t*)(&fidl_test_json_Example_foo_ResultTable), .offset=16u, .padding=0u} |
| }; |
| const struct FidlCodedStruct fidl_test_json_ExamplefooResponseTable = {.tag=kFidlTypeStruct, .fields=Fields33fidl_test_json_ExamplefooResponse, .field_count=1u, .size=40u, .name="fidl.test.json/ExamplefooResponse"}; |
| |
| |
| const struct FidlCodedStruct fidl_test_json_Example_foo_ResponseTable = {.tag=kFidlTypeStruct, .fields=NULL, .field_count=0u, .size=8u, .name="fidl.test.json/Example_foo_Response"}; |
| |
| static const struct FidlXUnionField Fields33fidl_test_json_Example_foo_Result[] = { |
| /*FidlXUnionField*/{.type=(fidl_type_t*)(&fidl_test_json_Example_foo_ResponseTable)}, |
| /*FidlXUnionField*/{.type=(fidl_type_t*)(&fidl_internal_kUint32Table)} |
| }; |
| const struct FidlCodedXUnion fidl_test_json_Example_foo_ResultTable = {.tag=kFidlTypeXUnion, .field_count=2u, .fields=Fields33fidl_test_json_Example_foo_Result, .nullable=kFidlNullability_Nonnullable, .name="fidl.test.json/Example_foo_Result", .strictness=kFidlStrictness_Strict}; |
| static const struct FidlXUnionField Fields44fidl_test_json_Example_foo_ResultNullableRef[] = { |
| /*FidlXUnionField*/{.type=(fidl_type_t*)(&fidl_test_json_Example_foo_ResponseTable)}, |
| /*FidlXUnionField*/{.type=(fidl_type_t*)(&fidl_internal_kUint32Table)} |
| }; |
| const struct FidlCodedXUnion fidl_test_json_Example_foo_ResultNullableRefTable = {.tag=kFidlTypeXUnion, .field_count=2u, .fields=Fields44fidl_test_json_Example_foo_ResultNullableRef, .nullable=kFidlNullability_Nullable, .name="fidl.test.json/Example_foo_Result", .strictness=kFidlStrictness_Strict}; |