aboutsummaryrefslogtreecommitdiff
path: root/lundump.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-04-25 16:24:10 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-04-25 16:24:10 -0300
commit8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc (patch)
tree4ad0b914b84005b706fb6c9af302132d789b133a /lundump.h
parent8c3c3e769195facf6b8c061f4fab1d86e6606be8 (diff)
downloadlua-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.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/lundump.h b/lundump.h
index b3f9b6d2..7af3d636 100644
--- a/lundump.h
+++ b/lundump.h
@@ -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 */
14Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char *name); 14LUAI_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 */
17int luaU_endianness (void); 18LUAI_FUNC int luaU_endianness (void);
18 19
19/* dump one chunk; from ldump.c */ 20/* dump one chunk; from ldump.c */
20int luaU_dump (lua_State* L, const Proto* Main, lua_Chunkwriter w, void* data, int strip); 21LUAI_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 */
23void luaU_print (const Proto* Main); 25LUAI_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 */