diff options
Diffstat (limited to 'inout.c')
-rw-r--r-- | inout.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -5,7 +5,7 @@ | |||
5 | ** Also provides some predefined lua functions. | 5 | ** Also provides some predefined lua functions. |
6 | */ | 6 | */ |
7 | 7 | ||
8 | char *rcs_inout="$Id: inout.c,v 2.43 1996/09/25 12:57:22 roberto Exp roberto $"; | 8 | char *rcs_inout="$Id: inout.c,v 2.44 1997/02/26 17:38:41 roberto Unstable roberto $"; |
9 | 9 | ||
10 | #include <stdio.h> | 10 | #include <stdio.h> |
11 | #include <string.h> | 11 | #include <string.h> |
@@ -368,10 +368,10 @@ void luaI_predefine (void) | |||
368 | Word n; | 368 | Word n; |
369 | for (i=0; i<INTFUNCSIZE; i++) { | 369 | for (i=0; i<INTFUNCSIZE; i++) { |
370 | n = luaI_findsymbolbyname(int_funcs[i].name); | 370 | n = luaI_findsymbolbyname(int_funcs[i].name); |
371 | s_tag(n) = LUA_T_CFUNCTION; s_fvalue(n) = int_funcs[i].func; | 371 | s_ttype(n) = LUA_T_CFUNCTION; s_fvalue(n) = int_funcs[i].func; |
372 | } | 372 | } |
373 | n = luaI_findsymbolbyname("_VERSION_"); | 373 | n = luaI_findsymbolbyname("_VERSION_"); |
374 | s_tag(n) = LUA_T_STRING; s_tsvalue(n) = lua_createstring(LUA_VERSION); | 374 | s_ttype(n) = LUA_T_STRING; s_tsvalue(n) = lua_createstring(LUA_VERSION); |
375 | } | 375 | } |
376 | 376 | ||
377 | 377 | ||