Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Enumerations
a
b
c
d
e
g
i
l
m
o
p
r
s
t
v
+
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
x
y
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
w
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
+
Properties
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Related Functions
:
a
b
c
d
e
f
g
i
m
o
q
r
s
v
w
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
_
a
b
c
d
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
x
z
+
Enumerations
a
b
c
d
e
f
h
i
k
l
n
o
r
t
u
v
x
+
Enumerator
b
c
d
e
f
h
i
k
l
m
n
o
p
r
t
u
v
w
x
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
3rdparty
lua-5.4.3
src
lundump.h
Go to the documentation of this file.
1
/*
2
** $Id: lundump.h $
3
** load precompiled Lua chunks
4
** See Copyright Notice in lua.h
5
*/
6
7
#ifndef lundump_h
8
#define lundump_h
9
10
#include "
llimits.h
"
11
#include "
lobject.h
"
12
#include "
lzio.h
"
13
14
15
/* data to catch conversion errors */
16
#define LUAC_DATA "\x19\x93\r\n\x1a\n"
17
18
#define LUAC_INT 0x5678
19
#define LUAC_NUM cast_num(370.5)
20
21
/*
22
** Encode major-minor version in one byte, one nibble for each
23
*/
24
#define MYINT(s) (s[0]-'0')
/* assume one-digit numerals */
25
#define LUAC_VERSION (MYINT(LUA_VERSION_MAJOR)*16+MYINT(LUA_VERSION_MINOR))
26
27
#define LUAC_FORMAT 0
/* this is the official format */
28
29
/* load one chunk; from lundump.c */
30
LUAI_FUNC
LClosure
*
luaU_undump
(
lua_State
* L,
ZIO
* Z,
const
char
* name);
31
32
/* dump one chunk; from ldump.c */
33
LUAI_FUNC
int
luaU_dump
(
lua_State
* L,
const
Proto
* f,
lua_Writer
w,
34
void
*
data
,
int
strip);
35
36
#endif
LClosure
Definition:
lobject.h:641
Proto
Definition:
lobject.h:539
LUAI_FUNC
#define LUAI_FUNC
Definition:
luaconf.h:312
lua_Writer
int(* lua_Writer)(lua_State *L, const void *p, size_t sz, void *ud)
Definition:
lua.h:119
luaU_dump
LUAI_FUNC int luaU_dump(lua_State *L, const Proto *f, lua_Writer w, void *data, int strip)
Definition:
ldump.c:213
lobject.h
lua_State
Definition:
lstate.h:304
lzio.h
Zio
Definition:
lzio.h:55
luaU_undump
LUAI_FUNC LClosure * luaU_undump(lua_State *L, ZIO *Z, const char *name)
Definition:
lundump.c:311
llimits.h
data
Definition:
format.h:895
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:01:38