Merge pull request #2817 from cg2121/script-functions

obs-scripting: Expose platform functions to scripts
master
Jim 2020-05-03 06:48:59 -07:00 committed by GitHub
commit 3b8dd47fbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,7 @@
#include <util/base.h>
#include "cstrcache.h"
#include "obs-scripting-config.h"
#include <util/platform.h>
#if UI_ENABLED
#include "obs-frontend-api.h"
@ -100,6 +101,7 @@ static inline void wrap_blog(int log_level, const char *message)
%include "callback/signal.h"
%include "util/bmem.h"
%include "util/base.h"
%include "util/platform.h"
#if UI_ENABLED
%include "obs-frontend-api.h"

View File

@ -24,6 +24,7 @@
#include <util/bmem.h>
#include <util/base.h>
#include "obs-scripting-config.h"
#include <util/platform.h>
#if UI_ENABLED
#include "obs-frontend-api.h"
@ -98,6 +99,7 @@ static inline void wrap_blog(int log_level, const char *message)
%include "callback/signal.h"
%include "util/bmem.h"
%include "util/base.h"
%include "util/platform.h"
#if UI_ENABLED
%include "obs-frontend-api.h"