rpm
4.5
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
lua
lundump.h
Go to the documentation of this file.
1
/*
2
** $Id: lundump.h,v 1.1 2004/03/16 21:58:30 niemeyer Exp $
3
** load pre-compiled Lua chunks
4
** See Copyright Notice in lua.h
5
*/
6
7
#ifndef lundump_h
8
#define lundump_h
9
10
#include "
lobject.h
"
11
#include "
lzio.h
"
12
13
/* load one chunk; from lundump.c */
14
/*@null@*/
15
Proto
*
luaU_undump
(
lua_State
* L,
ZIO
* Z,
Mbuffer
* buff)
16
/*@*/
;
17
18
/* find byte order; from lundump.c */
19
int
luaU_endianness
(
void
)
20
/*@*/
;
21
22
/* dump one chunk; from ldump.c */
23
void
luaU_dump
(
lua_State
* L,
const
Proto
* Main, lua_Chunkwriter w,
void
* data)
24
/*@*/
;
25
26
/* print one chunk; from print.c */
27
/*@unused@*/
28
void
luaU_print
(
const
Proto
* Main)
29
/*@*/
;
30
31
/* definitions for headers of binary files */
32
#define LUA_SIGNATURE "\033Lua"
/* binary files start with "<esc>Lua" */
33
#define VERSION 0x50
/* last format change was in 5.0 */
34
#define VERSION0 0x50
/* last major change was in 5.0 */
35
36
/* a multiple of PI for testing native format */
37
/* multiplying by 1E7 gives non-trivial integer values */
38
#define TEST_NUMBER ((lua_Number)3.14159265358979323846E7)
39
40
#endif
Generated on Tue Aug 28 2012 18:13:47 for rpm by
1.8.2