commit | f79b21d00bcf85682f37a923f1ab6ca1b264f2f4 | [log] [tgz] |
---|---|---|
author | Yorhel <git@yorhel.nl> | Wed Feb 26 08:29:14 2014 +0100 |
committer | Yorhel <git@yorhel.nl> | Wed Feb 26 08:29:14 2014 +0100 |
tree | 2f161c0333a87335955594f6d38ebb905a174da4 | |
parent | 7ff7bbcbeea6815d184c3bf80f4989fa3c75dc0b [diff] |
Add extern "C" stuff for C++
diff --git a/yxml.h b/yxml.h index cf7cf11..97c4bc8 100644 --- a/yxml.h +++ b/yxml.h
@@ -120,6 +120,10 @@ } yxml_t; +#ifdef __cplusplus +extern "C" { +#endif + void yxml_init(yxml_t *, void *, size_t); @@ -134,6 +138,11 @@ * ended while in a comment or processing instruction. */ yxml_ret_t yxml_eof(yxml_t *); +#ifdef __cplusplus +} +#endif + + #endif /* vim: set noet sw=4 ts=4: */