Update autogenerated files

Signed-off-by: David Lamparter <equinox@diac24.net>
This commit is contained in:
David Lamparter 2023-04-23 14:34:07 +02:00
parent 79d6035e3f
commit 632f0d73a1
6 changed files with 1307 additions and 76 deletions

View file

@ -1,2 +1,10 @@
#include "c.capnp.h"
/* AUTO GENERATED - DO NOT EDIT */
#ifdef __GNUC__
# define capnp_unused __attribute__((unused))
# define capnp_use(x) (void) x;
#else
# define capnp_unused
# define capnp_use(x)
#endif

View file

@ -7,6 +7,14 @@
#error "version mismatch between capnp_c.h and generated code"
#endif
#ifndef capnp_nowarn
# ifdef __GNUC__
# define capnp_nowarn __extension__
# else
# define capnp_nowarn
# endif
#endif
#ifdef __cplusplus
extern "C" {

View file

@ -761,8 +761,8 @@ void read_Type(struct Type *s capnp_unused, Type_ptr p) {
s->_interface.brand.p = capn_getp(p.p, 0, 0);
break;
case Type_anyPointer:
s->anyPointer_which = (enum Type_anyPointer_which)(int) capn_read16(p.p, 8);
switch (s->anyPointer_which) {
s->anyPointer.which = (enum Type_anyPointer_which)(int) capn_read16(p.p, 8);
switch (s->anyPointer.which) {
case Type_anyPointer_parameter:
s->anyPointer.parameter.scopeId = capn_read64(p.p, 16);
s->anyPointer.parameter.parameterIndex = capn_read16(p.p, 10);
@ -799,8 +799,8 @@ void write_Type(const struct Type *s capnp_unused, Type_ptr p) {
capn_setp(p.p, 0, s->_interface.brand.p);
break;
case Type_anyPointer:
capn_write16(p.p, 8, s->anyPointer_which);
switch (s->anyPointer_which) {
capn_write16(p.p, 8, s->anyPointer.which);
switch (s->anyPointer.which) {
case Type_anyPointer_parameter:
capn_write64(p.p, 16, s->anyPointer.parameter.scopeId);
capn_write16(p.p, 10, s->anyPointer.parameter.parameterIndex);

View file

@ -15,8 +15,6 @@
# endif
#endif
#include "c++.capnp.h"
#include "c.capnp.h"
#ifdef __cplusplus
extern "C" {
@ -148,6 +146,7 @@ static const size_t Node_pointer_count = 6;
static const size_t Node_struct_bytes_count = 88;
uint64_t Node_get_id(Node_ptr p);
capn_text Node_get_displayName(Node_ptr p);
@ -190,6 +189,7 @@ static const size_t Node_Parameter_pointer_count = 1;
static const size_t Node_Parameter_struct_bytes_count = 8;
capn_text Node_Parameter_get_name(Node_Parameter_ptr p);
void Node_Parameter_set_name(Node_Parameter_ptr p, capn_text name);
@ -205,6 +205,7 @@ static const size_t Node_NestedNode_pointer_count = 1;
static const size_t Node_NestedNode_struct_bytes_count = 16;
capn_text Node_NestedNode_get_name(Node_NestedNode_ptr p);
uint64_t Node_NestedNode_get_id(Node_NestedNode_ptr p);
@ -250,6 +251,7 @@ static const size_t Field_pointer_count = 4;
static const size_t Field_struct_bytes_count = 56;
capn_text Field_get_name(Field_ptr p);
uint16_t Field_get_codeOrder(Field_ptr p);
@ -278,6 +280,7 @@ static const size_t Enumerant_pointer_count = 2;
static const size_t Enumerant_struct_bytes_count = 24;
capn_text Enumerant_get_name(Enumerant_ptr p);
uint16_t Enumerant_get_codeOrder(Enumerant_ptr p);
@ -301,6 +304,7 @@ static const size_t Superclass_pointer_count = 1;
static const size_t Superclass_struct_bytes_count = 16;
uint64_t Superclass_get_id(Superclass_ptr p);
Brand_ptr Superclass_get_brand(Superclass_ptr p);
@ -326,6 +330,7 @@ static const size_t Method_pointer_count = 5;
static const size_t Method_struct_bytes_count = 64;
capn_text Method_get_name(Method_ptr p);
uint16_t Method_get_codeOrder(Method_ptr p);
@ -402,7 +407,8 @@ struct Type {
uint64_t typeId;
Brand_ptr brand;
} _interface;
enum Type_anyPointer_which anyPointer_which;
capnp_nowarn struct {
enum Type_anyPointer_which which;
capnp_nowarn union {
capnp_nowarn struct {
uint64_t scopeId;
@ -411,6 +417,7 @@ struct Type {
capnp_nowarn struct {
uint16_t parameterIndex;
} implicitMethodParameter;
};
} anyPointer;
};
};
@ -421,6 +428,7 @@ static const size_t Type_pointer_count = 1;
static const size_t Type_struct_bytes_count = 32;
struct Brand {
Brand_Scope_list scopes;
};
@ -431,6 +439,7 @@ static const size_t Brand_pointer_count = 1;
static const size_t Brand_struct_bytes_count = 8;
Brand_Scope_list Brand_get_scopes(Brand_ptr p);
void Brand_set_scopes(Brand_ptr p, Brand_Scope_list scopes);
@ -453,6 +462,7 @@ static const size_t Brand_Scope_pointer_count = 1;
static const size_t Brand_Scope_struct_bytes_count = 24;
uint64_t Brand_Scope_get_scopeId(Brand_Scope_ptr p);
void Brand_Scope_set_scopeId(Brand_Scope_ptr p, uint64_t scopeId);
@ -473,6 +483,7 @@ static const size_t Brand_Binding_word_count = 1;
static const size_t Brand_Binding_pointer_count = 1;
static const size_t Brand_Binding_struct_bytes_count = 16;
enum Value_which {
Value__void = 0,
Value__bool = 1,
@ -524,6 +535,7 @@ static const size_t Value_pointer_count = 1;
static const size_t Value_struct_bytes_count = 24;
struct Annotation {
uint64_t id;
Brand_ptr brand;
@ -536,6 +548,7 @@ static const size_t Annotation_pointer_count = 2;
static const size_t Annotation_struct_bytes_count = 24;
uint64_t Annotation_get_id(Annotation_ptr p);
Brand_ptr Annotation_get_brand(Annotation_ptr p);
@ -559,6 +572,7 @@ static const size_t CodeGeneratorRequest_pointer_count = 2;
static const size_t CodeGeneratorRequest_struct_bytes_count = 16;
Node_list CodeGeneratorRequest_get_nodes(CodeGeneratorRequest_ptr p);
CodeGeneratorRequest_RequestedFile_list CodeGeneratorRequest_get_requestedFiles(CodeGeneratorRequest_ptr p);
@ -579,6 +593,7 @@ static const size_t CodeGeneratorRequest_RequestedFile_pointer_count = 2;
static const size_t CodeGeneratorRequest_RequestedFile_struct_bytes_count = 24;
uint64_t CodeGeneratorRequest_RequestedFile_get_id(CodeGeneratorRequest_RequestedFile_ptr p);
capn_text CodeGeneratorRequest_RequestedFile_get_filename(CodeGeneratorRequest_RequestedFile_ptr p);
@ -602,6 +617,7 @@ static const size_t CodeGeneratorRequest_RequestedFile_Import_pointer_count = 1;
static const size_t CodeGeneratorRequest_RequestedFile_Import_struct_bytes_count = 16;
uint64_t CodeGeneratorRequest_RequestedFile_Import_get_id(CodeGeneratorRequest_RequestedFile_Import_ptr p);
capn_text CodeGeneratorRequest_RequestedFile_Import_get_name(CodeGeneratorRequest_RequestedFile_Import_ptr p);

File diff suppressed because it is too large Load diff

View file

@ -15,8 +15,6 @@
# endif
#endif
#include "c++.capnp.h"
#include "c.capnp.h"
#ifdef __cplusplus
extern "C" {
@ -294,6 +292,7 @@ static const size_t TestAllTypes_pointer_count = 20;
static const size_t TestAllTypes_struct_bytes_count = 208;
unsigned TestAllTypes_get_boolField(TestAllTypes_ptr p);
int8_t TestAllTypes_get_int8Field(TestAllTypes_ptr p);
@ -463,6 +462,7 @@ static const size_t TestDefaults_pointer_count = 20;
static const size_t TestDefaults_struct_bytes_count = 208;
unsigned TestDefaults_get_boolField(TestDefaults_ptr p);
int8_t TestDefaults_get_int8Field(TestDefaults_ptr p);
@ -601,6 +601,7 @@ static const size_t TestAnyPointer_pointer_count = 1;
static const size_t TestAnyPointer_struct_bytes_count = 8;
capn_ptr TestAnyPointer_get_anyPointerField(TestAnyPointer_ptr p);
void TestAnyPointer_set_anyPointerField(TestAnyPointer_ptr p, capn_ptr anyPointerField);
@ -623,6 +624,7 @@ static const size_t TestOutOfOrder_pointer_count = 9;
static const size_t TestOutOfOrder_struct_bytes_count = 72;
capn_text TestOutOfOrder_get_foo(TestOutOfOrder_ptr p);
capn_text TestOutOfOrder_get_bar(TestOutOfOrder_ptr p);
@ -780,6 +782,7 @@ static const size_t TestUnion_pointer_count = 2;
static const size_t TestUnion_struct_bytes_count = 80;
unsigned TestUnion_get_bit0(TestUnion_ptr p);
unsigned TestUnion_get_bit2(TestUnion_ptr p);
@ -833,6 +836,7 @@ static const size_t TestUnnamedUnion_pointer_count = 2;
static const size_t TestUnnamedUnion_struct_bytes_count = 32;
capn_text TestUnnamedUnion_get_before(TestUnnamedUnion_ptr p);
void TestUnnamedUnion_set_before(TestUnnamedUnion_ptr p, capn_text before);
@ -848,10 +852,12 @@ enum TestUnionInUnion_outer_which {
struct TestUnionInUnion {
enum TestUnionInUnion_outer_which outer_which;
capnp_nowarn union {
enum TestUnionInUnion_outer_inner_which inner_which;
capnp_nowarn struct {
enum TestUnionInUnion_outer_inner_which which;
capnp_nowarn union {
int32_t foo;
int32_t bar;
};
} inner;
int32_t baz;
} outer;
@ -862,6 +868,7 @@ static const size_t TestUnionInUnion_word_count = 2;
static const size_t TestUnionInUnion_pointer_count = 0;
static const size_t TestUnionInUnion_struct_bytes_count = 16;
enum TestGroups_groups_which {
TestGroups_groups_foo = 0,
TestGroups_groups_bar = 2,
@ -894,6 +901,7 @@ static const size_t TestGroups_word_count = 2;
static const size_t TestGroups_pointer_count = 2;
static const size_t TestGroups_struct_bytes_count = 32;
enum TestInterleavedGroups_group1_which {
TestInterleavedGroups_group1_qux = 0,
TestInterleavedGroups_group1_corge = 1,
@ -946,6 +954,7 @@ static const size_t TestInterleavedGroups_pointer_count = 6;
static const size_t TestInterleavedGroups_struct_bytes_count = 96;
struct TestUnionDefaults {
TestUnion_ptr s16s8s64s8Set;
TestUnion_ptr s0sps1s32Set;
@ -959,6 +968,7 @@ static const size_t TestUnionDefaults_pointer_count = 4;
static const size_t TestUnionDefaults_struct_bytes_count = 32;
TestUnion_ptr TestUnionDefaults_get_s16s8s64s8Set(TestUnionDefaults_ptr p);
TestUnion_ptr TestUnionDefaults_get_s0sps1s32Set(TestUnionDefaults_ptr p);
@ -987,6 +997,7 @@ static const size_t TestNestedTypes_pointer_count = 1;
static const size_t TestNestedTypes_struct_bytes_count = 16;
TestNestedTypes_NestedStruct_ptr TestNestedTypes_get_nestedStruct(TestNestedTypes_ptr p);
enum TestNestedTypes_NestedEnum TestNestedTypes_get_outerNestedEnum(TestNestedTypes_ptr p);
@ -1010,6 +1021,7 @@ static const size_t TestNestedTypes_NestedStruct_pointer_count = 0;
static const size_t TestNestedTypes_NestedStruct_struct_bytes_count = 8;
enum TestNestedTypes_NestedEnum TestNestedTypes_NestedStruct_get_outerNestedEnum(TestNestedTypes_NestedStruct_ptr p);
enum TestNestedTypes_NestedStruct_NestedEnum TestNestedTypes_NestedStruct_get_innerNestedEnum(TestNestedTypes_NestedStruct_ptr p);
@ -1029,6 +1041,7 @@ static const size_t TestUsing_pointer_count = 0;
static const size_t TestUsing_struct_bytes_count = 8;
enum TestNestedTypes_NestedEnum TestUsing_get_outerNestedEnum(TestUsing_ptr p);
enum TestNestedTypes_NestedStruct_NestedEnum TestUsing_get_innerNestedEnum(TestUsing_ptr p);
@ -1056,6 +1069,7 @@ static const size_t TestLists_pointer_count = 10;
static const size_t TestLists_struct_bytes_count = 80;
TestLists_Struct0_list TestLists_get_list0(TestLists_ptr p);
TestLists_Struct1_list TestLists_get_list1(TestLists_ptr p);
@ -1105,6 +1119,7 @@ static const size_t TestLists_Struct0_pointer_count = 0;
static const size_t TestLists_Struct0_struct_bytes_count = 0;
struct TestLists_Struct1 {
unsigned f : 1;
};
@ -1115,6 +1130,7 @@ static const size_t TestLists_Struct1_pointer_count = 0;
static const size_t TestLists_Struct1_struct_bytes_count = 8;
unsigned TestLists_Struct1_get_f(TestLists_Struct1_ptr p);
void TestLists_Struct1_set_f(TestLists_Struct1_ptr p, unsigned f);
@ -1129,6 +1145,7 @@ static const size_t TestLists_Struct8_pointer_count = 0;
static const size_t TestLists_Struct8_struct_bytes_count = 8;
uint8_t TestLists_Struct8_get_f(TestLists_Struct8_ptr p);
void TestLists_Struct8_set_f(TestLists_Struct8_ptr p, uint8_t f);
@ -1143,6 +1160,7 @@ static const size_t TestLists_Struct16_pointer_count = 0;
static const size_t TestLists_Struct16_struct_bytes_count = 8;
uint16_t TestLists_Struct16_get_f(TestLists_Struct16_ptr p);
void TestLists_Struct16_set_f(TestLists_Struct16_ptr p, uint16_t f);
@ -1157,6 +1175,7 @@ static const size_t TestLists_Struct32_pointer_count = 0;
static const size_t TestLists_Struct32_struct_bytes_count = 8;
uint32_t TestLists_Struct32_get_f(TestLists_Struct32_ptr p);
void TestLists_Struct32_set_f(TestLists_Struct32_ptr p, uint32_t f);
@ -1171,6 +1190,7 @@ static const size_t TestLists_Struct64_pointer_count = 0;
static const size_t TestLists_Struct64_struct_bytes_count = 8;
uint64_t TestLists_Struct64_get_f(TestLists_Struct64_ptr p);
void TestLists_Struct64_set_f(TestLists_Struct64_ptr p, uint64_t f);
@ -1185,6 +1205,7 @@ static const size_t TestLists_StructP_pointer_count = 1;
static const size_t TestLists_StructP_struct_bytes_count = 8;
capn_text TestLists_StructP_get_f(TestLists_StructP_ptr p);
void TestLists_StructP_set_f(TestLists_StructP_ptr p, capn_text f);
@ -1199,6 +1220,7 @@ static const size_t TestLists_Struct0c_pointer_count = 1;
static const size_t TestLists_Struct0c_struct_bytes_count = 8;
capn_text TestLists_Struct0c_get_pad(TestLists_Struct0c_ptr p);
void TestLists_Struct0c_set_pad(TestLists_Struct0c_ptr p, capn_text pad);
@ -1214,6 +1236,7 @@ static const size_t TestLists_Struct1c_pointer_count = 1;
static const size_t TestLists_Struct1c_struct_bytes_count = 16;
unsigned TestLists_Struct1c_get_f(TestLists_Struct1c_ptr p);
capn_text TestLists_Struct1c_get_pad(TestLists_Struct1c_ptr p);
@ -1233,6 +1256,7 @@ static const size_t TestLists_Struct8c_pointer_count = 1;
static const size_t TestLists_Struct8c_struct_bytes_count = 16;
uint8_t TestLists_Struct8c_get_f(TestLists_Struct8c_ptr p);
capn_text TestLists_Struct8c_get_pad(TestLists_Struct8c_ptr p);
@ -1252,6 +1276,7 @@ static const size_t TestLists_Struct16c_pointer_count = 1;
static const size_t TestLists_Struct16c_struct_bytes_count = 16;
uint16_t TestLists_Struct16c_get_f(TestLists_Struct16c_ptr p);
capn_text TestLists_Struct16c_get_pad(TestLists_Struct16c_ptr p);
@ -1271,6 +1296,7 @@ static const size_t TestLists_Struct32c_pointer_count = 1;
static const size_t TestLists_Struct32c_struct_bytes_count = 16;
uint32_t TestLists_Struct32c_get_f(TestLists_Struct32c_ptr p);
capn_text TestLists_Struct32c_get_pad(TestLists_Struct32c_ptr p);
@ -1290,6 +1316,7 @@ static const size_t TestLists_Struct64c_pointer_count = 1;
static const size_t TestLists_Struct64c_struct_bytes_count = 16;
uint64_t TestLists_Struct64c_get_f(TestLists_Struct64c_ptr p);
capn_text TestLists_Struct64c_get_pad(TestLists_Struct64c_ptr p);
@ -1309,6 +1336,7 @@ static const size_t TestLists_StructPc_pointer_count = 1;
static const size_t TestLists_StructPc_struct_bytes_count = 16;
capn_text TestLists_StructPc_get_f(TestLists_StructPc_ptr p);
uint64_t TestLists_StructPc_get_pad(TestLists_StructPc_ptr p);
@ -1329,6 +1357,7 @@ static const size_t TestFieldZeroIsBit_pointer_count = 0;
static const size_t TestFieldZeroIsBit_struct_bytes_count = 8;
unsigned TestFieldZeroIsBit_get_bit(TestFieldZeroIsBit_ptr p);
unsigned TestFieldZeroIsBit_get_secondBit(TestFieldZeroIsBit_ptr p);
@ -1351,6 +1380,7 @@ static const size_t TestListDefaults_pointer_count = 1;
static const size_t TestListDefaults_struct_bytes_count = 8;
TestLists_ptr TestListDefaults_get_lists(TestListDefaults_ptr p);
void TestListDefaults_set_lists(TestListDefaults_ptr p, TestLists_ptr lists);
@ -1389,6 +1419,7 @@ static const size_t TestLateUnion_pointer_count = 3;
static const size_t TestLateUnion_struct_bytes_count = 48;
int32_t TestLateUnion_get_foo(TestLateUnion_ptr p);
capn_text TestLateUnion_get_bar(TestLateUnion_ptr p);
@ -1413,6 +1444,7 @@ static const size_t TestOldVersion_pointer_count = 2;
static const size_t TestOldVersion_struct_bytes_count = 24;
int64_t TestOldVersion_get_old1(TestOldVersion_ptr p);
capn_text TestOldVersion_get_old2(TestOldVersion_ptr p);
@ -1439,6 +1471,7 @@ static const size_t TestNewVersion_pointer_count = 3;
static const size_t TestNewVersion_struct_bytes_count = 40;
int64_t TestNewVersion_get_old1(TestNewVersion_ptr p);
capn_text TestNewVersion_get_old2(TestNewVersion_ptr p);
@ -1477,6 +1510,7 @@ static const size_t TestStructUnion_pointer_count = 1;
static const size_t TestStructUnion_struct_bytes_count = 16;
struct TestStructUnion_SomeStruct {
capn_text someText;
capn_text moreText;
@ -1488,6 +1522,7 @@ static const size_t TestStructUnion_SomeStruct_pointer_count = 2;
static const size_t TestStructUnion_SomeStruct_struct_bytes_count = 16;
capn_text TestStructUnion_SomeStruct_get_someText(TestStructUnion_SomeStruct_ptr p);
capn_text TestStructUnion_SomeStruct_get_moreText(TestStructUnion_SomeStruct_ptr p);
@ -1507,6 +1542,7 @@ static const size_t TestPrintInlineStructs_pointer_count = 2;
static const size_t TestPrintInlineStructs_struct_bytes_count = 16;
capn_text TestPrintInlineStructs_get_someText(TestPrintInlineStructs_ptr p);
TestPrintInlineStructs_InlineStruct_list TestPrintInlineStructs_get_structList(TestPrintInlineStructs_ptr p);
@ -1526,6 +1562,7 @@ static const size_t TestPrintInlineStructs_InlineStruct_pointer_count = 1;
static const size_t TestPrintInlineStructs_InlineStruct_struct_bytes_count = 16;
int32_t TestPrintInlineStructs_InlineStruct_get_int32Field(TestPrintInlineStructs_InlineStruct_ptr p);
capn_text TestPrintInlineStructs_InlineStruct_get_textField(TestPrintInlineStructs_InlineStruct_ptr p);
@ -1545,6 +1582,7 @@ static const size_t TestWholeFloatDefault_pointer_count = 0;
static const size_t TestWholeFloatDefault_struct_bytes_count = 8;
float TestWholeFloatDefault_get_field(TestWholeFloatDefault_ptr p);
float TestWholeFloatDefault_get_bigField(TestWholeFloatDefault_ptr p);
@ -1562,6 +1600,7 @@ static const size_t TestEmptyStruct_pointer_count = 0;
static const size_t TestEmptyStruct_struct_bytes_count = 0;
capnp_nowarn struct TestConstants {
};
@ -1571,6 +1610,7 @@ static const size_t TestConstants_pointer_count = 0;
static const size_t TestConstants_struct_bytes_count = 0;
struct TestSturdyRef {
TestSturdyRefHostId_ptr hostId;
capn_ptr objectId;
@ -1582,6 +1622,7 @@ static const size_t TestSturdyRef_pointer_count = 2;
static const size_t TestSturdyRef_struct_bytes_count = 16;
TestSturdyRefHostId_ptr TestSturdyRef_get_hostId(TestSturdyRef_ptr p);
capn_ptr TestSturdyRef_get_objectId(TestSturdyRef_ptr p);
@ -1600,6 +1641,7 @@ static const size_t TestSturdyRefHostId_pointer_count = 1;
static const size_t TestSturdyRefHostId_struct_bytes_count = 8;
capn_text TestSturdyRefHostId_get_host(TestSturdyRefHostId_ptr p);
void TestSturdyRefHostId_set_host(TestSturdyRefHostId_ptr p, capn_text host);
@ -1614,6 +1656,7 @@ static const size_t TestSturdyRefObjectId_pointer_count = 0;
static const size_t TestSturdyRefObjectId_struct_bytes_count = 8;
enum TestSturdyRefObjectId_Tag TestSturdyRefObjectId_get_tag(TestSturdyRefObjectId_ptr p);
void TestSturdyRefObjectId_set_tag(TestSturdyRefObjectId_ptr p, enum TestSturdyRefObjectId_Tag tag);
@ -1627,6 +1670,7 @@ static const size_t TestProvisionId_pointer_count = 0;
static const size_t TestProvisionId_struct_bytes_count = 0;
capnp_nowarn struct TestRecipientId {
};
@ -1636,6 +1680,7 @@ static const size_t TestRecipientId_pointer_count = 0;
static const size_t TestRecipientId_struct_bytes_count = 0;
capnp_nowarn struct TestThirdPartyCapId {
};
@ -1645,6 +1690,7 @@ static const size_t TestThirdPartyCapId_pointer_count = 0;
static const size_t TestThirdPartyCapId_struct_bytes_count = 0;
capnp_nowarn struct TestJoinResult {
};
@ -1653,6 +1699,7 @@ static const size_t TestJoinResult_word_count = 0;
static const size_t TestJoinResult_pointer_count = 0;
static const size_t TestJoinResult_struct_bytes_count = 0;
enum TestNameAnnotation_which {
TestNameAnnotation_badFieldName = 0,
TestNameAnnotation_bar = 1
@ -1682,6 +1729,7 @@ static const size_t TestNameAnnotation_pointer_count = 1;
static const size_t TestNameAnnotation_struct_bytes_count = 16;
struct TestNameAnnotation_NestedStruct {
unsigned badNestedFieldName : 1;
TestNameAnnotation_NestedStruct_ptr anotherBadNestedFieldName;
@ -1693,6 +1741,7 @@ static const size_t TestNameAnnotation_NestedStruct_pointer_count = 1;
static const size_t TestNameAnnotation_NestedStruct_struct_bytes_count = 16;
unsigned TestNameAnnotation_NestedStruct_get_badNestedFieldName(TestNameAnnotation_NestedStruct_ptr p);
TestNameAnnotation_NestedStruct_ptr TestNameAnnotation_NestedStruct_get_anotherBadNestedFieldName(TestNameAnnotation_NestedStruct_ptr p);