libobs: Add obs_data_create_from_json_file func
Just a little helper function that allows you to create an obs_data_t object from a json file (rather than having to manually open it each time and then call obs_data_create_from_json on the file data)
This commit is contained in:
@@ -62,6 +62,7 @@ enum obs_data_number_type {
|
||||
|
||||
EXPORT obs_data_t *obs_data_create();
|
||||
EXPORT obs_data_t *obs_data_create_from_json(const char *json_string);
|
||||
EXPORT obs_data_t *obs_data_create_from_json_file(const char *json_file);
|
||||
EXPORT void obs_data_addref(obs_data_t *data);
|
||||
EXPORT void obs_data_release(obs_data_t *data);
|
||||
|
||||
|
Reference in New Issue
Block a user