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)
This commit is contained in:
Roberto Ierusalimschy
1994-11-03 20:34:29 -02:00
parent 42ef3f9388
commit 31d58e2f01
2 changed files with 44 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: inout.h,v 1.2 1994/10/11 14:38:17 celes Exp roberto $
** $Id: inout.h,v 1.3 1994/11/02 20:29:39 roberto Exp roberto $
*/
@@ -10,9 +10,9 @@ extern int lua_linenumber;
extern int lua_debug;
extern int lua_debugline;
int lua_openfile (char *fn);
char *lua_openfile (char *fn);
void lua_closefile (void);
int lua_openstring (char *s);
char *lua_openstring (char *s);
void lua_closestring (void);
int lua_pushfunction (char *file, int function);
void lua_popfunction (void);
@@ -21,6 +21,7 @@ void lua_reportbug (char *s);
void lua_internaldofile (void);
void lua_internaldostring (void);
void lua_print (void);
void lua_type (void);
void luaI_type (void);
void lua_obj2number (void);
#endif