mirror of
https://github.com/lua/lua
synced 2026-09-27 00:28:25 +03:00
removed compatibility code with older versions
This commit is contained in:
parent
12110dec0e
commit
34b00c16e2
10 changed files with 25 additions and 342 deletions
17
lauxlib.h
17
lauxlib.h
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: lauxlib.h,v 1.132 2017/04/24 18:06:12 roberto Exp roberto $
|
||||
** $Id: lauxlib.h,v 1.133 2017/06/27 18:32:49 roberto Exp roberto $
|
||||
** Auxiliary functions for building Lua libraries
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -204,21 +204,6 @@ typedef struct luaL_Stream {
|
|||
|
||||
/* }====================================================== */
|
||||
|
||||
|
||||
|
||||
/* compatibility with old module system */
|
||||
#if defined(LUA_COMPAT_MODULE)
|
||||
|
||||
LUALIB_API void (luaL_pushmodule) (lua_State *L, const char *modname,
|
||||
int sizehint);
|
||||
LUALIB_API void (luaL_openlib) (lua_State *L, const char *libname,
|
||||
const luaL_Reg *l, int nup);
|
||||
|
||||
#define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0))
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
** {==================================================================
|
||||
** "Abstraction Layer" for basic report of messages and errors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue