mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-30 17:58:37 +08:00
deps/opts-parser: Add missing c extern for cpp
This commit is contained in:
Vendored
+8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user