diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-04-25 16:24:10 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-04-25 16:24:10 -0300 |
commit | 8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc (patch) | |
tree | 4ad0b914b84005b706fb6c9af302132d789b133a /lundump.h | |
parent | 8c3c3e769195facf6b8c061f4fab1d86e6606be8 (diff) | |
download | lua-8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc.tar.gz lua-8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc.tar.bz2 lua-8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc.zip |
added LUAI_FUNC to functions not in the API
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 */ |