diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-03-06 15:47:42 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-03-06 15:47:42 -0300 |
| commit | 043c2ac2584ee14865c41cbc07addd55f284e0a3 (patch) | |
| tree | 0796c645370e32ba9d6349815e32c87d5c31cf86 /liolib.c | |
| parent | 88a2023c3285c4514519158fba90e644fc6ffca3 (diff) | |
| download | lua-043c2ac2584ee14865c41cbc07addd55f284e0a3.tar.gz lua-043c2ac2584ee14865c41cbc07addd55f284e0a3.tar.bz2 lua-043c2ac2584ee14865c41cbc07addd55f284e0a3.zip | |
new names for "lua_pushlstr" and "lua_getstrlen"
Diffstat (limited to 'liolib.c')
| -rw-r--r-- | liolib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: liolib.c,v 1.14 1998/01/07 16:26:48 roberto Exp roberto $ | 2 | ** $Id: liolib.c,v 1.15 1998/03/06 16:54:42 roberto Exp roberto $ |
| 3 | ** Standard I/O (and system) library | 3 | ** Standard I/O (and system) library |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -233,7 +233,7 @@ static void io_read (void) | |||
| 233 | ungetc(c, f); | 233 | ungetc(c, f); |
| 234 | l = luaL_getsize(); | 234 | l = luaL_getsize(); |
| 235 | if (l > 0 || *p == 0) /* read something or did not fail? */ | 235 | if (l > 0 || *p == 0) /* read something or did not fail? */ |
| 236 | lua_pushlstr(luaL_buffer(), l); | 236 | lua_pushlstring(luaL_buffer(), l); |
| 237 | } | 237 | } |
| 238 | 238 | ||
| 239 | 239 | ||
