diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-01-10 14:31:30 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-01-10 14:31:30 -0200 |
commit | 162b66624d6868e71010ef3988b482fc811def34 (patch) | |
tree | aebf5f5c036172b4aeec6874aff1002eb8be9e9b /ltests.h | |
parent | e791f025c0c59b0a428fab604a7e2251cca568f5 (diff) | |
download | lua-162b66624d6868e71010ef3988b482fc811def34.tar.gz lua-162b66624d6868e71010ef3988b482fc811def34.tar.bz2 lua-162b66624d6868e71010ef3988b482fc811def34.zip |
no more `lua_userinit' macro
Diffstat (limited to 'ltests.h')
-rw-r--r-- | ltests.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.h,v 2.9 2004/07/16 13:17:00 roberto Exp roberto $ | 2 | ** $Id: ltests.h,v 2.10 2004/09/10 17:30:46 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 | */ |
@@ -65,8 +65,9 @@ extern int islocked; | |||
65 | 65 | ||
66 | int luaB_opentests (lua_State *L); | 66 | int luaB_opentests (lua_State *L); |
67 | 67 | ||
68 | #undef lua_userinit | 68 | #ifdef lua_c |
69 | #define lua_userinit(L) { luaopen_stdlibs(L); luaB_opentests(L); } | 69 | #define luaopen_stdlibs(L) { (luaopen_stdlibs)(L); luaB_opentests(L); } |
70 | #endif | ||
70 | 71 | ||
71 | 72 | ||
72 | 73 | ||