aboutsummaryrefslogtreecommitdiff
path: root/src/tag.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-07 09:38:02 +0100
committerMax Kellermann <max@duempel.org>2013-01-07 10:07:40 +0100
commit975370c084c8d679ff2cc2fcee48326b1dbcbf2e (patch)
treea7df707eb1712c1921367862b35c6265c80bd5a5 /src/tag.h
parentc3c776bc6aa9f550a832ff3a2ace4f7980f6a791 (diff)
decoder_api.h, ...: add "extern C"
Diffstat (limited to 'src/tag.h')
-rw-r--r--src/tag.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tag.h b/src/tag.h
index 2556cf3a..a94fb0d5 100644
--- a/src/tag.h
+++ b/src/tag.h
@@ -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