ObjFW  Diff

Differences From Artifact [ca3e727268]:

To Artifact [223399c150]:


82
83
84
85
86
87
88

89



90
91
92
93
94
95
96
82
83
84
85
86
87
88
89

90
91
92
93
94
95
96
97
98
99







+
-
+
+
+








	[_impl writeFormat: @"\n"
			    @"extern struct Library *%@;\n"
			    @"\n",
			    libBase];

	[_impl writeString:
	    @"#if OF_GCC_VERSION >= 1100\n"
	    @"#pragma GCC diagnostic ignored \"-Warray-parameter\"\n\n"];
	    @"# pragma GCC diagnostic ignored \"-Warray-parameter\"\n"
	    @"#endif\n"
	    @"\n"];

	functions = [_library elementsForName: @"function"];
	for (OFXMLElement *function in functions) {
		OFString *name =
		    [function attributeForName: @"name"].stringValue;
		OFString *returnType =
		    [function attributeForName: @"return-type"].stringValue;