From 8882d2ff2c4c77c08a5c5b0931a70ff906ecbdb5 Mon Sep 17 00:00:00 2001 From: jussi Date: Wed, 29 Nov 2023 19:52:47 +0200 Subject: Platform web. --- src/platforms/core_web.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/platforms/core_web.c (limited to 'src/platforms/core_web.c') diff --git a/src/platforms/core_web.c b/src/platforms/core_web.c new file mode 100644 index 0000000..24d3bf2 --- /dev/null +++ b/src/platforms/core_web.c @@ -0,0 +1,20 @@ +#include "main.h" +#include "lua_core.h" +#include "core.h" + +void platformDefineGlobals() { + lua_State *L = state->luaState; + + lua_getglobal( L, "RL" ); +/*DOC_DEFINES_START*/ +/*DOC_DEFINES_END*/ + lua_pop( L, -1 ); +} + +/* Functions. */ + +/* Events. */ + +void luaPlatformRegister() { + return; +} -- cgit v1.2.3