added LUAI_FUNC to functions not in the API
This commit is contained in:
12
lundump.h
12
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 */
|
||||
|
||||
Reference in New Issue
Block a user