decoder_api.h, ...: add "extern C"
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user