better API for luaL_getfield/setfield

This commit is contained in:
Roberto Ierusalimschy
2004-09-29 18:00:25 -03:00
parent 66845f415f
commit cf2a194edc
2 changed files with 8 additions and 8 deletions

View File

@@ -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);