diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-06-23 15:27:53 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-06-23 15:27:53 -0300 |
commit | e81f1841644405845e7de6bd70a0f074cced3d81 (patch) | |
tree | faa59463440da831f60846d4c689289d3fbdcaf9 /inout.c | |
parent | 3e4327530835f65d3bc089688bd46f44efcddb57 (diff) | |
download | lua-e81f1841644405845e7de6bd70a0f074cced3d81.tar.gz lua-e81f1841644405845e7de6bd70a0f074cced3d81.tar.bz2 lua-e81f1841644405845e7de6bd70a0f074cced3d81.zip |
new #define LUA_COMPAT2_5 to select "compatibility mode".
Diffstat (limited to 'inout.c')
-rw-r--r-- | inout.c | 4 |
1 files changed, 3 insertions, 1 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.65 1997/06/19 18:49:40 roberto Exp roberto $"; | 8 | char *rcs_inout="$Id: inout.c,v 2.66 1997/06/20 19:19:09 roberto Exp roberto $"; |
9 | 9 | ||
10 | #include <stdio.h> | 10 | #include <stdio.h> |
11 | #include <string.h> | 11 | #include <string.h> |
@@ -377,7 +377,9 @@ static struct { | |||
377 | {"rawsetglobal", luaI_rawsetglobal}, | 377 | {"rawsetglobal", luaI_rawsetglobal}, |
378 | {"rawsettable", rawsettable}, | 378 | {"rawsettable", rawsettable}, |
379 | {"seterrormethod", luaI_seterrormethod}, | 379 | {"seterrormethod", luaI_seterrormethod}, |
380 | #if LUA_COMPAT2_5 | ||
380 | {"setfallback", luaI_setfallback}, | 381 | {"setfallback", luaI_setfallback}, |
382 | #endif | ||
381 | {"setglobal", luaI_setglobal}, | 383 | {"setglobal", luaI_setglobal}, |
382 | {"settagmethod", luaI_settagmethod}, | 384 | {"settagmethod", luaI_settagmethod}, |
383 | {"gettagmethod", luaI_gettagmethod}, | 385 | {"gettagmethod", luaI_gettagmethod}, |