diff options
author | Max Kellermann <max@duempel.org> | 2013-01-07 09:38:02 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-07 10:07:40 +0100 |
commit | 975370c084c8d679ff2cc2fcee48326b1dbcbf2e (patch) | |
tree | a7df707eb1712c1921367862b35c6265c80bd5a5 /src/tag.h | |
parent | c3c776bc6aa9f550a832ff3a2ace4f7980f6a791 (diff) | |
download | mpd-975370c084c8d679ff2cc2fcee48326b1dbcbf2e.tar.gz mpd-975370c084c8d679ff2cc2fcee48326b1dbcbf2e.tar.xz mpd-975370c084c8d679ff2cc2fcee48326b1dbcbf2e.zip |
decoder_api.h, ...: add "extern C"
Diffstat (limited to 'src/tag.h')
-rw-r--r-- | src/tag.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -101,6 +101,10 @@ struct tag { unsigned num_items; }; +#ifdef __cplusplus +extern "C" { +#endif + /** * Parse the string, and convert it into a #tag_type. Returns * #TAG_NUM_OF_ITEM_TYPES if the string could not be recognized. @@ -236,4 +240,8 @@ bool tag_has_type(const struct tag *tag, enum tag_type type); */ bool tag_equal(const struct tag *tag1, const struct tag *tag2); +#ifdef __cplusplus +} +#endif + #endif |