better API for luaL_getfield/setfield
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lauxlib.h,v 1.70 2004/07/09 18:23:17 roberto Exp roberto $
|
||||
** $Id: lauxlib.h,v 1.71 2004/09/21 16:54:32 roberto Exp roberto $
|
||||
** Auxiliary functions for building Lua libraries
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -72,8 +72,8 @@ 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);
|
||||
LUALIB_API const char *luaL_getfield (lua_State *L, int idx, const char *fname);
|
||||
LUALIB_API const char *luaL_setfield (lua_State *L, int idx, const char *fname);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user