From 8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 25 Apr 2005 16:24:10 -0300 Subject: added LUAI_FUNC to functions not in the API --- lundump.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'lundump.h') diff --git a/lundump.h b/lundump.h index b3f9b6d2..7af3d636 100644 --- a/lundump.h +++ b/lundump.h @@ -1,5 +1,5 @@ /* -** $Id: lundump.h,v 1.33 2003/08/15 13:48:53 roberto Exp roberto $ +** $Id: lundump.h,v 1.34 2003/08/25 19:51:54 roberto Exp roberto $ ** load pre-compiled Lua chunks ** See Copyright Notice in lua.h */ @@ -11,16 +11,18 @@ #include "lzio.h" /* load one chunk; from lundump.c */ -Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char *name); +LUAI_FUNC Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, + const char *name); /* find byte order; from lundump.c */ -int luaU_endianness (void); +LUAI_FUNC int luaU_endianness (void); /* dump one chunk; from ldump.c */ -int luaU_dump (lua_State* L, const Proto* Main, lua_Chunkwriter w, void* data, int strip); +LUAI_FUNC int luaU_dump (lua_State* L, const Proto* Main, lua_Chunkwriter w, + void* data, int strip); /* print one chunk; from print.c */ -void luaU_print (const Proto* Main); +LUAI_FUNC void luaU_print (const Proto* Main); /* definitions for headers of binary files */ #define VERSION 0x50 /* last format change was in 5.0 */ -- cgit v1.2.3-55-g6feb