dump/undump of upvalue names

This commit is contained in:
Roberto Ierusalimschy
2003-01-27 13:52:57 -02:00
parent e79bf02f33
commit 0175f8d5d1
3 changed files with 50 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lundump.h,v 1.28 2002/10/09 13:42:01 roberto Exp roberto $
** $Id: lundump.h,v 1.28 2002/12/13 11:12:35 lhf Exp $
** load pre-compiled Lua chunks
** See Copyright Notice in lua.h
*/
@@ -11,13 +11,13 @@
#include "lzio.h"
/* load one chunk; from lundump.c */
Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer *buff);
Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff);
/* find byte order; from lundump.c */
int luaU_endianness (void);
/* dump one chunk; from dump.c */
void luaU_dump (lua_State *L, const Proto* Main, lua_Chunkwriter w, void* data);
/* dump one chunk; from ldump.c */
void luaU_dump (lua_State* L, const Proto* Main, lua_Chunkwriter w, void* data);
/* print one chunk; from print.c */
void luaU_print (const Proto* Main);