Browse Source

Added C++ compatibility

master
Nolan Clark 9 years ago
parent
commit
fc4e875977
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      src/xml.h

+ 6
- 4
src/xml.h View File

@@ -30,7 +30,9 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>



#ifdef __cplusplus
extern "C" {
#endif


/** /**
* Opaque structure holding the parsed xml document * Opaque structure holding the parsed xml document
@@ -162,9 +164,9 @@ size_t xml_string_length(struct xml_string* string);
*/ */
void xml_string_copy(struct xml_string* string, uint8_t* buffer, size_t length); void xml_string_copy(struct xml_string* string, uint8_t* buffer, size_t length);


#ifdef __cplusplus
}
#endif


#endif #endif



Loading…
Cancel
Save