diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-11-03 20:34:29 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-11-03 20:34:29 -0200 |
commit | 31d58e2f0193998d28f1c0587573fdc35da383fd (patch) | |
tree | e49c42ea8c3674c8e6d868a54e3dd100fef1e240 /inout.h | |
parent | 42ef3f938876088a1c28afd3f7e7b25273f1c976 (diff) | |
download | lua-31d58e2f0193998d28f1c0587573fdc35da383fd.tar.gz lua-31d58e2f0193998d28f1c0587573fdc35da383fd.tar.bz2 lua-31d58e2f0193998d28f1c0587573fdc35da383fd.zip |
more functions from opcode.c
'open_file' and 'open_string' return an error message
lua_type renamed to luaI_type (I for Internal, as this function is not
exported outside lua)
Diffstat (limited to 'inout.h')
-rw-r--r-- | inout.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: inout.h,v 1.2 1994/10/11 14:38:17 celes Exp roberto $ | 2 | ** $Id: inout.h,v 1.3 1994/11/02 20:29:39 roberto Exp roberto $ |
3 | */ | 3 | */ |
4 | 4 | ||
5 | 5 | ||
@@ -10,9 +10,9 @@ extern int lua_linenumber; | |||
10 | extern int lua_debug; | 10 | extern int lua_debug; |
11 | extern int lua_debugline; | 11 | extern int lua_debugline; |
12 | 12 | ||
13 | int lua_openfile (char *fn); | 13 | char *lua_openfile (char *fn); |
14 | void lua_closefile (void); | 14 | void lua_closefile (void); |
15 | int lua_openstring (char *s); | 15 | char *lua_openstring (char *s); |
16 | void lua_closestring (void); | 16 | void lua_closestring (void); |
17 | int lua_pushfunction (char *file, int function); | 17 | int lua_pushfunction (char *file, int function); |
18 | void lua_popfunction (void); | 18 | void lua_popfunction (void); |
@@ -21,6 +21,7 @@ void lua_reportbug (char *s); | |||
21 | void lua_internaldofile (void); | 21 | void lua_internaldofile (void); |
22 | void lua_internaldostring (void); | 22 | void lua_internaldostring (void); |
23 | void lua_print (void); | 23 | void lua_print (void); |
24 | void lua_type (void); | 24 | void luaI_type (void); |
25 | void lua_obj2number (void); | ||
25 | 26 | ||
26 | #endif | 27 | #endif |