libobs: Add function to get module pointer

Useful for getting getting locale text associated with a specific module
This commit is contained in:
jp9000
2020-08-08 10:00:25 -07:00
parent f5d6a695be
commit de2e89d972
2 changed files with 17 additions and 0 deletions

View File

@@ -420,6 +420,9 @@ EXPORT int obs_open_module(obs_module_t **module, const char *path,
*/
EXPORT bool obs_init_module(obs_module_t *module);
/** Returns a module based upon its name, or NULL if not found */
EXPORT obs_module_t *obs_get_module(const char *name);
/** Logs loaded modules */
EXPORT void obs_log_loaded_modules(void);