aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-02-27 15:47:32 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-02-27 15:47:32 -0300
commit34b00c16e28c2bbc3e633b4007de956130905ed6 (patch)
treefca960c3f8f1945a052a776722ccef4944b748fa /lauxlib.h
parent12110dec0eda3813b7609051aedb0cde932fbf93 (diff)
downloadlua-34b00c16e28c2bbc3e633b4007de956130905ed6.tar.gz
lua-34b00c16e28c2bbc3e633b4007de956130905ed6.tar.bz2
lua-34b00c16e28c2bbc3e633b4007de956130905ed6.zip
removed compatibility code with older versions
Diffstat (limited to 'lauxlib.h')
-rw-r--r--lauxlib.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/lauxlib.h b/lauxlib.h
index 79d1f30a..9f91f6a6 100644
--- a/lauxlib.h
+++ b/lauxlib.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lauxlib.h,v 1.132 2017/04/24 18:06:12 roberto Exp roberto $ 2** $Id: lauxlib.h,v 1.133 2017/06/27 18:32:49 roberto Exp roberto $
3** Auxiliary functions for building Lua libraries 3** Auxiliary functions for building Lua libraries
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -204,21 +204,6 @@ typedef struct luaL_Stream {
204 204
205/* }====================================================== */ 205/* }====================================================== */
206 206
207
208
209/* compatibility with old module system */
210#if defined(LUA_COMPAT_MODULE)
211
212LUALIB_API void (luaL_pushmodule) (lua_State *L, const char *modname,
213 int sizehint);
214LUALIB_API void (luaL_openlib) (lua_State *L, const char *libname,
215 const luaL_Reg *l, int nup);
216
217#define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0))
218
219#endif
220
221
222/* 207/*
223** {================================================================== 208** {==================================================================
224** "Abstraction Layer" for basic report of messages and errors 209** "Abstraction Layer" for basic report of messages and errors