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

lua_mtutil.h « src - github.com/windirstat/lua-winreg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fe7b9bc5ccab7fe6738989d56e9437b05ae5b8e4 (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);
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___