diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-07-09 11:29:29 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-07-09 11:29:29 -0300 |
| commit | 31f6540fba010b941b44b2bd21672786d2e63e7f (patch) | |
| tree | 2824e407b7c04099b7c7f11d47f025c5271f2905 /ltests.h | |
| parent | eab1965c05f2ef71f715347e280733e7657993e4 (diff) | |
| download | lua-31f6540fba010b941b44b2bd21672786d2e63e7f.tar.gz lua-31f6540fba010b941b44b2bd21672786d2e63e7f.tar.bz2 lua-31f6540fba010b941b44b2bd21672786d2e63e7f.zip | |
back with an "open all libs" function
Diffstat (limited to 'ltests.h')
| -rw-r--r-- | ltests.h | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltests.h,v 2.6 2004/06/02 19:09:21 roberto Exp roberto $ | 2 | ** $Id: ltests.h,v 2.7 2004/06/29 16:57:24 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 | */ |
| @@ -70,8 +70,8 @@ extern int islocked; | |||
| 70 | 70 | ||
| 71 | int luaB_opentests (lua_State *L); | 71 | int luaB_opentests (lua_State *L); |
| 72 | 72 | ||
| 73 | #undef LUA_EXTRALIBS | 73 | #undef lua_userinit |
| 74 | #define LUA_EXTRALIBS { "tests", luaB_opentests }, | 74 | #define lua_userinit(L) { luaopen_stdlibs(L); luaB_opentests(L); } |
| 75 | 75 | ||
| 76 | 76 | ||
| 77 | 77 | ||
