decoder_api.h, ...: add "extern C"

This commit is contained in:
Max Kellermann
2013-01-07 09:38:02 +01:00
parent c3c776bc6a
commit 975370c084
49 changed files with 94 additions and 84 deletions

View File

@@ -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