diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-05-17 16:49:15 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-05-17 16:49:15 -0300 |
commit | 67578ec51f1a3ec2c967f15d370067caf9e0b87b (patch) | |
tree | d77b292ddec33d7e6987bae808fa1db250ebd830 /lapi.c | |
parent | c2bb9abceceef125554595e23b7cc18ad3555c7c (diff) | |
download | lua-67578ec51f1a3ec2c967f15d370067caf9e0b87b.tar.gz lua-67578ec51f1a3ec2c967f15d370067caf9e0b87b.tar.bz2 lua-67578ec51f1a3ec2c967f15d370067caf9e0b87b.zip |
several small details
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 2.39 2005/05/05 15:34:03 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 2.40 2005/05/16 19:21:11 roberto Exp roberto $ |
3 | ** Lua API | 3 | ** Lua API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -846,7 +846,7 @@ LUA_API int lua_cpcall (lua_State *L, lua_CFunction func, void *ud) { | |||
846 | } | 846 | } |
847 | 847 | ||
848 | 848 | ||
849 | LUA_API int lua_load (lua_State *L, lua_Chunkreader reader, void *data, | 849 | LUA_API int lua_load (lua_State *L, lua_Reader reader, void *data, |
850 | const char *chunkname) { | 850 | const char *chunkname) { |
851 | ZIO z; | 851 | ZIO z; |
852 | int status; | 852 | int status; |
@@ -859,7 +859,7 @@ LUA_API int lua_load (lua_State *L, lua_Chunkreader reader, void *data, | |||
859 | } | 859 | } |
860 | 860 | ||
861 | 861 | ||
862 | LUA_API int lua_dump (lua_State *L, lua_Chunkwriter writer, void *data) { | 862 | LUA_API int lua_dump (lua_State *L, lua_Writer writer, void *data) { |
863 | int status; | 863 | int status; |
864 | TValue *o; | 864 | TValue *o; |
865 | lua_lock(L); | 865 | lua_lock(L); |