diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-03-19 16:41:10 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-03-19 16:41:10 -0300 |
| commit | 1444d28476af70bc51c4fdba71deb669f41c77a3 (patch) | |
| tree | 6d19c5653702ea341f6650f3e917ed77456f757f /inout.c | |
| parent | 2de803c250de373186afbbea0a5978f54c52850c (diff) | |
| download | lua-1444d28476af70bc51c4fdba71deb669f41c77a3.tar.gz lua-1444d28476af70bc51c4fdba71deb669f41c77a3.tar.bz2 lua-1444d28476af70bc51c4fdba71deb669f41c77a3.zip | |
first full implementation of internal methods
Diffstat (limited to 'inout.c')
| -rw-r--r-- | inout.c | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -5,11 +5,12 @@ | |||
| 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.45 1997/03/11 18:44:28 roberto Exp roberto $"; | 8 | char *rcs_inout="$Id: inout.c,v 2.46 1997/03/17 17:01:10 roberto Exp roberto $"; |
| 9 | 9 | ||
| 10 | #include <stdio.h> | 10 | #include <stdio.h> |
| 11 | #include <string.h> | 11 | #include <string.h> |
| 12 | 12 | ||
| 13 | #include "auxlib.h" | ||
| 13 | #include "lex.h" | 14 | #include "lex.h" |
| 14 | #include "opcode.h" | 15 | #include "opcode.h" |
| 15 | #include "inout.h" | 16 | #include "inout.h" |
| @@ -322,6 +323,7 @@ static struct { | |||
| 322 | {"print", luaI_print}, | 323 | {"print", luaI_print}, |
| 323 | {"setfallback", luaI_setfallback}, | 324 | {"setfallback", luaI_setfallback}, |
| 324 | {"setintmethod", luaI_setintmethod}, | 325 | {"setintmethod", luaI_setintmethod}, |
| 326 | {"setglobalmethod", luaI_setglobalmethod}, | ||
| 325 | {"setglobal", luaI_setglobal}, | 327 | {"setglobal", luaI_setglobal}, |
| 326 | {"tonumber", lua_obj2number}, | 328 | {"tonumber", lua_obj2number}, |
| 327 | {"tostring", luaI_tostring}, | 329 | {"tostring", luaI_tostring}, |
