diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-03-11 15:44:28 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-03-11 15:44:28 -0300 |
commit | b6d91e24e23edfe98ad732660fd456e91658edb9 (patch) | |
tree | a66fb8348758f32df6c5d5ab1af1aece2a63009f /inout.c | |
parent | a82ab0852eaca43cb56be5134833c97e6bb7ac98 (diff) | |
download | lua-b6d91e24e23edfe98ad732660fd456e91658edb9.tar.gz lua-b6d91e24e23edfe98ad732660fd456e91658edb9.tar.bz2 lua-b6d91e24e23edfe98ad732660fd456e91658edb9.zip |
"tag" changed to "ttype" (since now tag has other meaning)
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 | ||