aboutsummaryrefslogtreecommitdiff
path: root/lundump.h
diff options
context:
space:
mode:
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 */