added LUAI_FUNC to functions not in the API

This commit is contained in:
Roberto Ierusalimschy
2005-04-25 16:24:10 -03:00
parent 8c3c3e7691
commit 8718fda9b2
18 changed files with 180 additions and 161 deletions

View File

@@ -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 */