aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-09-14 11:09:31 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-09-14 11:09:31 -0300
commit620d22f2a09ccfe5b7a09ebc11a7b5dca28ac9e4 (patch)
treee0a789478ca78f601d4fc05b62feddb978914a65 /lapi.c
parentf45cba42b5c32758337f62c56e98fdb85a9f4af2 (diff)
downloadlua-620d22f2a09ccfe5b7a09ebc11a7b5dca28ac9e4.tar.gz
lua-620d22f2a09ccfe5b7a09ebc11a7b5dca28ac9e4.tar.bz2
lua-620d22f2a09ccfe5b7a09ebc11a7b5dca28ac9e4.zip
new API function lua_rawget
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/lapi.c b/lapi.c
index d3a14967..bde6eca8 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 1.96 2000/09/11 20:29:27 roberto Exp roberto $ 2** $Id: lapi.c,v 1.97 2000/09/12 13:47:46 roberto Exp $
3** Lua API 3** Lua API
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -366,6 +366,15 @@ int lua_ref (lua_State *L, int lock) {
366} 366}
367 367
368 368
369/*
370** "do" functions (run Lua code)
371** (most of them are in ldo.c)
372*/
373
374void lua_rawcall (lua_State *L, int nargs, int nresults) {
375 luaD_call(L, L->top-(nargs+1), nresults);
376}
377
369 378
370/* 379/*
371** miscellaneous functions 380** miscellaneous functions