diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-03-15 10:13:13 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-03-15 10:13:13 -0300 |
commit | e701a86385d652d19b1fd461ae4a84d1db2accba (patch) | |
tree | 627af0146fa50b71ba5878389b3a32557cf4793d /inout.h | |
parent | 3e1f7318269e56e557d423f07547da1a87ea6d4f (diff) | |
download | lua-e701a86385d652d19b1fd461ae4a84d1db2accba.tar.gz lua-e701a86385d652d19b1fd461ae4a84d1db2accba.tar.bz2 lua-e701a86385d652d19b1fd461ae4a84d1db2accba.zip |
"openfile" now returns the file
Diffstat (limited to 'inout.h')
-rw-r--r-- | inout.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: inout.h,v 1.12 1996/01/26 14:05:28 roberto Exp roberto $ | 2 | ** $Id: inout.h,v 1.13 1996/02/07 14:13:47 roberto Exp roberto $ |
3 | */ | 3 | */ |
4 | 4 | ||
5 | 5 | ||
@@ -7,13 +7,14 @@ | |||
7 | #define inout_h | 7 | #define inout_h |
8 | 8 | ||
9 | #include "types.h" | 9 | #include "types.h" |
10 | #include "stdio.h" | ||
10 | 11 | ||
11 | 12 | ||
12 | extern Word lua_linenumber; | 13 | extern Word lua_linenumber; |
13 | extern Word lua_debugline; | 14 | extern Word lua_debugline; |
14 | extern char *lua_parsedfile; | 15 | extern char *lua_parsedfile; |
15 | 16 | ||
16 | int lua_openfile (char *fn); | 17 | FILE *lua_openfile (char *fn); |
17 | void lua_closefile (void); | 18 | void lua_closefile (void); |
18 | void lua_openstring (char *s); | 19 | void lua_openstring (char *s); |
19 | void lua_closestring (void); | 20 | void lua_closestring (void); |