Added in sample plugin and tested things out. Works.
This commit is contained in:
+5
-1
@@ -139,13 +139,17 @@ init_lua:
|
||||
lua_pushstring(L, exename);
|
||||
lua_setglobal(L, "EXEFILE");
|
||||
|
||||
#ifdef __APPLE__
|
||||
lua_pushboolean(L, true);
|
||||
#ifdef __APPLE__
|
||||
lua_setglobal(L, "MACOS");
|
||||
enable_momentum_scroll();
|
||||
#ifdef MACOS_USE_BUNDLE
|
||||
set_macos_bundle_resources(L);
|
||||
#endif
|
||||
#elsif _WIN32
|
||||
lua_setglobal(L, "WINDOWS");
|
||||
#else
|
||||
lua_setglobal(L, "LINUX");
|
||||
#endif
|
||||
|
||||
const char *init_lite_code = \
|
||||
|
||||
Reference in New Issue
Block a user