We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 052f19e commit fc4e875Copy full SHA for fc4e875
src/xml.h
@@ -30,7 +30,9 @@
30
#include <stdint.h>
31
#include <string.h>
32
33
-
+#ifdef __cplusplus
34
+extern "C" {
35
+#endif
36
37
/**
38
* Opaque structure holding the parsed xml document
@@ -162,9 +164,9 @@ size_t xml_string_length(struct xml_string* string);
162
164
*/
163
165
void xml_string_copy(struct xml_string* string, uint8_t* buffer, size_t length);
166
167
168
+}
169
170
171
#endif
172
0 commit comments