new API function lua_rawget

This commit is contained in:
Roberto Ierusalimschy
2000-09-14 11:09:31 -03:00
parent f45cba42b5
commit 620d22f2a0
6 changed files with 40 additions and 21 deletions

11
lapi.c
View File

@@ -1,5 +1,5 @@
/*
** $Id: lapi.c,v 1.96 2000/09/11 20:29:27 roberto Exp roberto $
** $Id: lapi.c,v 1.97 2000/09/12 13:47:46 roberto Exp $
** Lua API
** See Copyright Notice in lua.h
*/
@@ -366,6 +366,15 @@ int lua_ref (lua_State *L, int lock) {
}
/*
** "do" functions (run Lua code)
** (most of them are in ldo.c)
*/
void lua_rawcall (lua_State *L, int nargs, int nresults) {
luaD_call(L, L->top-(nargs+1), nresults);
}
/*
** miscellaneous functions