aboutsummaryrefslogtreecommitdiff
path: root/src/3rdparty/luax/luax.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-08-07 11:51:37 +0800
committerchai <chaifix@163.com>2018-08-07 11:51:37 +0800
commita46931ada5343e8f5b863719c733f5bfc91c663f (patch)
tree243e77ea0ca1aa5a4b7a235be62efde22914b96e /src/3rdparty/luax/luax.h
parente4eeedbd6faaef380b58236745856b50cebf4461 (diff)
*update
Diffstat (limited to 'src/3rdparty/luax/luax.h')
-rw-r--r--src/3rdparty/luax/luax.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/3rdparty/luax/luax.h b/src/3rdparty/luax/luax.h
index 8c9fcd8..4940f9f 100644
--- a/src/3rdparty/luax/luax.h
+++ b/src/3rdparty/luax/luax.h
@@ -32,6 +32,7 @@
#define LUAX_VERSION "0.1.0"
#define luax_newstate luaL_newstate
+#define luax_close lua_close
#define luax_openlibs luaL_openlibs
// load chunk but dont run it
#define luax_loadbuffer luaL_loadbuffer
@@ -40,7 +41,7 @@
#define luax_setglobal lua_setglobal
#define luax_pop lua_pop
#define luax_newtable lua_newtable
-
+#define luax_getglobal lua_getglobal
/**
*
*/