lundump.h
资源名称:wow.rar [点击查看]
上传用户:jxpjxmjjw
上传日期:2009-12-07
资源大小:5877k
文件大小:1k
源码类别:
模拟服务器
开发平台:
Visual C++
- /*
- ** $Id: lundump.h,v 1.1 2004/08/20 02:26:56 JH Exp $
- ** load pre-compiled Lua chunks
- ** See Copyright Notice in lua.h
- */
- #ifndef lundump_h
- #define lundump_h
- #include "lobject.h"
- #include "lzio.h"
- /* load one chunk; from lundump.c */
- Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff);
- /* find byte order; from lundump.c */
- int luaU_endianness (void);
- /* 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);
- /* definitions for headers of binary files */
- #define LUA_SIGNATURE "