Welcome to mirror list, hosted at ThFree Co, Russian Federation.

lua_mtutil.h « src « lua-winreg « modules « src « lua « 3rdparty - github.com/windirstat/windirstat.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c9ae0d659a27b112cf8f4b1119162dc36456da7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __LUA_MTUTIL_H___
#define __LUA_MTUTIL_H___
#ifdef  __cplusplus
extern "C" {
#endif
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>

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
}
#endif
#endif //__LUA_MTUTIL_H___