diff options
| -rw-r--r-- | lundump.h | 6 |
1 files changed, 2 insertions, 4 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lundump.h,v 1.27 2002/08/12 13:37:19 roberto Exp roberto $ | 2 | ** $Id: lundump.h,v 1.28 2002/10/09 13:42:01 roberto Exp roberto $ |
| 3 | ** load pre-compiled Lua chunks | 3 | ** load pre-compiled Lua chunks |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -10,8 +10,6 @@ | |||
| 10 | #include "lobject.h" | 10 | #include "lobject.h" |
| 11 | #include "lzio.h" | 11 | #include "lzio.h" |
| 12 | 12 | ||
| 13 | typedef int (*Writer)(const void* p, size_t size, void* u); | ||
| 14 | |||
| 15 | /* load one chunk; from lundump.c */ | 13 | /* load one chunk; from lundump.c */ |
| 16 | Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer *buff); | 14 | Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer *buff); |
| 17 | 15 | ||
| @@ -19,7 +17,7 @@ Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer *buff); | |||
| 19 | int luaU_endianness (void); | 17 | int luaU_endianness (void); |
| 20 | 18 | ||
| 21 | /* dump one chunk; from dump.c */ | 19 | /* dump one chunk; from dump.c */ |
| 22 | void luaU_dump (const Proto* Main, Writer w, void* data); | 20 | void luaU_dump (lua_State *L, const Proto* Main, lua_Chunkwriter w, void* data); |
| 23 | 21 | ||
| 24 | /* print one chunk; from print.c */ | 22 | /* print one chunk; from print.c */ |
| 25 | void luaU_print (const Proto* Main); | 23 | void luaU_print (const Proto* Main); |
