diff options
author | Alexey Melnichuk <alexeymelnichuck@gmail.com> | 2019-02-23 11:25:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-23 11:25:48 +0300 |
commit | 52ffc1b40c19332d7ea19eee7f4cd41d423a880a (patch) | |
tree | 381f70400514a1fd4b6cdcdfc41589521e1968d0 /src/lua_mtutil.h | |
parent | ffeb14ded654e1237553c5747e60e6dc6154c4c0 (diff) | |
parent | 6892f237c5289d3980605c23e8a8b046ecaef345 (diff) |
Fixed a handful of warnings with Visual C++ and added some defines
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
|