diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1995-05-16 14:23:58 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1995-05-16 14:23:58 -0300 |
commit | ec79f25286a4ac843280ae7377ec1e5b39a70cea (patch) | |
tree | 03872cdc5d5f18266021c1cc5d07b214daf59ff3 /table.c | |
parent | 18ea2eff80c720632cb6a89d560c5cce2377df06 (diff) | |
download | lua-ec79f25286a4ac843280ae7377ec1e5b39a70cea.tar.gz lua-ec79f25286a4ac843280ae7377ec1e5b39a70cea.tar.bz2 lua-ec79f25286a4ac843280ae7377ec1e5b39a70cea.zip |
new lua function "getstack"; new interface to function luaI_reportbug.
Diffstat (limited to 'table.c')
-rw-r--r-- | table.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3,7 +3,7 @@ | |||
3 | ** Module to control static tables | 3 | ** Module to control static tables |
4 | */ | 4 | */ |
5 | 5 | ||
6 | char *rcs_table="$Id: table.c,v 2.28 1995/01/18 20:15:54 celes Exp roberto $"; | 6 | char *rcs_table="$Id: table.c,v 2.29 1995/05/02 18:43:03 roberto Exp roberto $"; |
7 | 7 | ||
8 | #include <string.h> | 8 | #include <string.h> |
9 | 9 | ||
@@ -68,6 +68,8 @@ static void lua_initsymbol (void) | |||
68 | s_tag(n) = LUA_T_CFUNCTION; s_fvalue(n) = lua_internaldostring; | 68 | s_tag(n) = LUA_T_CFUNCTION; s_fvalue(n) = lua_internaldostring; |
69 | n = luaI_findsymbolbyname("setfallback"); | 69 | n = luaI_findsymbolbyname("setfallback"); |
70 | s_tag(n) = LUA_T_CFUNCTION; s_fvalue(n) = luaI_setfallback; | 70 | s_tag(n) = LUA_T_CFUNCTION; s_fvalue(n) = luaI_setfallback; |
71 | n = luaI_findsymbolbyname("getstack"); | ||
72 | s_tag(n) = LUA_T_CFUNCTION; s_fvalue(n) = luaI_getstack; | ||
71 | n = luaI_findsymbolbyname("error"); | 73 | n = luaI_findsymbolbyname("error"); |
72 | s_tag(n) = LUA_T_CFUNCTION; s_fvalue(n) = luaI_error; | 74 | s_tag(n) = LUA_T_CFUNCTION; s_fvalue(n) = luaI_error; |
73 | } | 75 | } |