deps/opts-parser: Add missing c extern for cpp

master
jp9000 2022-05-09 22:34:40 -07:00 committed by Jim
parent d70c6b9dfb
commit 50c174df07
1 changed files with 8 additions and 0 deletions

View File

@ -2,6 +2,10 @@
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
struct obs_option {
char *name;
char *value;
@ -17,3 +21,7 @@ struct obs_options {
struct obs_options obs_parse_options(const char *options_string);
void obs_free_options(struct obs_options options);
#ifdef __cplusplus
}
#endif