From 72afb6debb981f0e7ae3bb0bc54cbf3c1ead88f2 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 2 Dec 1999 17:11:51 -0200 Subject: modifications by lhf --- lundump.h | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'lundump.h') diff --git a/lundump.h b/lundump.h index 7e310a49..d4f6f628 100644 --- a/lundump.h +++ b/lundump.h @@ -1,5 +1,5 @@ /* -** $Id: lundump.h,v 1.10 1999/08/16 20:52:00 roberto Exp roberto $ +** $Id: lundump.h,v 1.17 1999/12/02 18:51:09 lhf Exp $ ** load pre-compiled Lua chunks ** See Copyright Notice in lua.h */ @@ -10,20 +10,24 @@ #include "lobject.h" #include "lzio.h" -TProtoFunc* luaU_undump1 (lua_State *L, ZIO* Z); /* load one chunk */ -void luaU_badconstant (lua_State *L, const char* s, int i, const TObject* o, TProtoFunc* tf); - /* handle cases that cannot happen */ -double luaU_str2d (lua_State *L, const char* b, const char* where); - /* convert number from text */ +/* load one chunk */ +TProtoFunc* luaU_undump1 (lua_State* L, ZIO* Z); + +/* handle cases that cannot happen */ +void luaU_badconstant (lua_State* L, const char* s, int i, + const TObject* o, const TProtoFunc* tf); + +/* convert number from text */ +double luaU_str2d (lua_State* L, const char* b, const char* where); /* definitions for headers of binary files */ -#define VERSION 0x32 /* last format change was in 3.2 */ -#define VERSION0 0x32 /* last major change was in 3.2 */ +#define VERSION 0x33 /* last format change was in 3.3 */ +#define VERSION0 0x33 /* last major change was in 3.3 */ #define ID_CHUNK 27 /* binary files start with ESC... */ #define SIGNATURE "Lua" /* ...followed by this signature */ /* formats for error messages */ -#define SOURCE "<%s:%d>" +#define SOURCE "<%.255s:%d>" #define IN " in %p " SOURCE #define INLOC tf,tf->source->str,tf->lineDefined -- cgit v1.2.3-55-g6feb