81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
include.stringValue];
[_impl writeFormat: @"\n"
@"extern struct Library *%@;\n"
@"\n",
libBase];
functions = [_library elementsForName: @"function"];
for (OFXMLElement *function in functions) {
OFString *name =
[function attributeForName: @"name"].stringValue;
OFString *returnType =
[function attributeForName: @"return-type"].stringValue;
OFArray OF_GENERIC(OFXMLElement *) *arguments =
|
>
>
>
|
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
include.stringValue];
[_impl writeFormat: @"\n"
@"extern struct Library *%@;\n"
@"\n",
libBase];
[_impl writeString:
@"#pragma GCC diagnostic ignored \"-Warray-parameter\"\n\n"];
functions = [_library elementsForName: @"function"];
for (OFXMLElement *function in functions) {
OFString *name =
[function attributeForName: @"name"].stringValue;
OFString *returnType =
[function attributeForName: @"return-type"].stringValue;
OFArray OF_GENERIC(OFXMLElement *) *arguments =
|