new auxiliary functions to implement new package system

This commit is contained in:
Roberto Ierusalimschy
2004-09-21 13:54:32 -03:00
parent 2419f2bf02
commit 6acfb91c8d
3 changed files with 95 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lauxlib.h,v 1.69 2004/06/30 12:58:44 roberto Exp roberto $
** $Id: lauxlib.h,v 1.70 2004/07/09 18:23:17 roberto Exp roberto $
** Auxiliary functions for building Lua libraries
** See Copyright Notice in lua.h
*/
@@ -70,6 +70,12 @@ LUALIB_API int luaL_loadbuffer (lua_State *L, const char *buff, size_t sz,
LUALIB_API lua_State *(luaL_newstate) (void);
LUALIB_API const char *luaL_gsub (lua_State *L, const char *s, const char *p,
const char *r);
LUALIB_API const char *luaL_getfield (lua_State *L, const char *fname);
LUALIB_API const char *luaL_setfield (lua_State *L, const char *fname);
/*
** ===============================================================