aboutsummaryrefslogtreecommitdiff
path: root/lundump.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-09-08 12:41:05 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-09-08 12:41:05 -0300
commit41964648eea1427d53934b886abb68cc8457b019 (patch)
treeb0388dfebe6614d5d49306193faf78f8b9e1a6a1 /lundump.h
parent502214f8a551cd01d94677f98a40aa51531ef71d (diff)
downloadlua-41964648eea1427d53934b886abb68cc8457b019.tar.gz
lua-41964648eea1427d53934b886abb68cc8457b019.tar.bz2
lua-41964648eea1427d53934b886abb68cc8457b019.zip
long strings are created directly in final position when possible
(instead of using an auxiliar buffer to first create the string and then allocate the final string and copy result there)
Diffstat (limited to 'lundump.h')
-rw-r--r--lundump.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lundump.h b/lundump.h
index 45194532..bc9f99a2 100644
--- a/lundump.h
+++ b/lundump.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lundump.h,v 1.43 2014/04/15 14:28:20 roberto Exp roberto $ 2** $Id: lundump.h,v 1.44 2014/06/19 18:27:20 roberto Exp roberto $
3** load precompiled Lua chunks 3** load precompiled Lua chunks
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -23,8 +23,7 @@
23#define LUAC_FORMAT 0 /* this is the official format */ 23#define LUAC_FORMAT 0 /* this is the official format */
24 24
25/* load one chunk; from lundump.c */ 25/* load one chunk; from lundump.c */
26LUAI_FUNC LClosure* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, 26LUAI_FUNC LClosure* luaU_undump (lua_State* L, ZIO* Z, const char* name);
27 const char* name);
28 27
29/* dump one chunk; from ldump.c */ 28/* dump one chunk; from ldump.c */
30LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, 29LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w,