diff options
Diffstat (limited to 'lundump.h')
-rw-r--r-- | lundump.h | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lundump.h,v 1.33 2003/08/15 13:48:53 roberto Exp roberto $ | 2 | ** $Id: lundump.h,v 1.34 2003/08/25 19:51:54 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 | */ |
@@ -11,16 +11,18 @@ | |||
11 | #include "lzio.h" | 11 | #include "lzio.h" |
12 | 12 | ||
13 | /* load one chunk; from lundump.c */ | 13 | /* load one chunk; from lundump.c */ |
14 | Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char *name); | 14 | LUAI_FUNC Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, |
15 | const char *name); | ||
15 | 16 | ||
16 | /* find byte order; from lundump.c */ | 17 | /* find byte order; from lundump.c */ |
17 | int luaU_endianness (void); | 18 | LUAI_FUNC int luaU_endianness (void); |
18 | 19 | ||
19 | /* dump one chunk; from ldump.c */ | 20 | /* dump one chunk; from ldump.c */ |
20 | int luaU_dump (lua_State* L, const Proto* Main, lua_Chunkwriter w, void* data, int strip); | 21 | LUAI_FUNC int luaU_dump (lua_State* L, const Proto* Main, lua_Chunkwriter w, |
22 | void* data, int strip); | ||
21 | 23 | ||
22 | /* print one chunk; from print.c */ | 24 | /* print one chunk; from print.c */ |
23 | void luaU_print (const Proto* Main); | 25 | LUAI_FUNC void luaU_print (const Proto* Main); |
24 | 26 | ||
25 | /* definitions for headers of binary files */ | 27 | /* definitions for headers of binary files */ |
26 | #define VERSION 0x50 /* last format change was in 5.0 */ | 28 | #define VERSION 0x50 /* last format change was in 5.0 */ |