diff options
author | Oliver Schneider <oliver@assarbad.net> | 2018-04-05 23:01:22 +0300 |
---|---|---|
committer | Oliver Schneider <oliver@assarbad.net> | 2018-04-05 23:01:22 +0300 |
commit | a71f964be4e491863842180dc041f8012a6fb543 (patch) | |
tree | d36f686cf082dda7ad247b08016383b72ac5452f /src/lua_mtutil.h | |
parent | 104aff465b80a879a9a44415baa34ce53bfa602a (diff) |
Fixed a handful of warnings and added LUA_REG_NO_DLL define for embedding the library without DLL
Diffstat (limited to 'src/lua_mtutil.h')
-rw-r--r-- | src/lua_mtutil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua_mtutil.h b/src/lua_mtutil.h index 01f56e9..746552f 100644 --- a/src/lua_mtutil.h +++ b/src/lua_mtutil.h @@ -7,7 +7,7 @@ extern "C" { #include <lualib.h>
#include <lauxlib.h>
-int lua_opentablemt(lua_State *L, const char * libname, const luaL_Reg * reg);
+int lua_opentablemt(lua_State *L, const char * libname, const luaL_Reg * reg, int upval);
void * lua_newuserdatamt(lua_State *L, size_t cdata, const char * mtname, const luaL_Reg * mtreg);
void * lua_newuserdatamtuv(lua_State *L, size_t cdata, const char * mtname, const luaL_Reg * mtreg, int upval);
#ifdef __cplusplus
|