diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-07-28 12:51:59 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-07-28 12:51:59 -0300 |
commit | d447945685986f0b1a7bd5d7ed7746bf4ebd5914 (patch) | |
tree | f6439228bedf7b967cb7ff8dc26946732e96d8b5 /ltests.h | |
parent | 78f9635111ec647719bb1b1622b1cb6f47ef1be1 (diff) | |
download | lua-d447945685986f0b1a7bd5d7ed7746bf4ebd5914.tar.gz lua-d447945685986f0b1a7bd5d7ed7746bf4ebd5914.tar.bz2 lua-d447945685986f0b1a7bd5d7ed7746bf4ebd5914.zip |
'module'/'luaL_register' and associates are deprecated
Diffstat (limited to 'ltests.h')
-rw-r--r-- | ltests.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.h,v 2.31 2010/04/12 16:07:29 roberto Exp roberto $ | 2 | ** $Id: ltests.h,v 2.32 2010/04/19 17:40:13 roberto Exp roberto $ |
3 | ** Internal Header for Debugging of the Lua Implementation | 3 | ** Internal Header for Debugging of the Lua Implementation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -73,7 +73,8 @@ int luaB_opentests (lua_State *L); | |||
73 | 73 | ||
74 | #if defined(lua_c) | 74 | #if defined(lua_c) |
75 | #define luaL_newstate() lua_newstate(debug_realloc, &l_memcontrol) | 75 | #define luaL_newstate() lua_newstate(debug_realloc, &l_memcontrol) |
76 | #define luaL_openlibs(L) { (luaL_openlibs)(L); luaB_opentests(L); } | 76 | #define luaL_openlibs(L) \ |
77 | { (luaL_openlibs)(L); luaL_requiref(L, "T", luaB_opentests, 1); } | ||
77 | #endif | 78 | #endif |
78 | 79 | ||
79 | 80 | ||