aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-12-27 15:33:22 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-12-27 15:33:22 -0200
commitacdb0b741e31adebfa4f608f8bf23e65fa68d741 (patch)
treea4f3bb695c4b2ae03ef8e02d15953bc12de25a9d /lapi.c
parent5b08fcd5a1392a7440cae91e68f350a44b136806 (diff)
downloadlua-acdb0b741e31adebfa4f608f8bf23e65fa68d741.tar.gz
lua-acdb0b741e31adebfa4f608f8bf23e65fa68d741.tar.bz2
lua-acdb0b741e31adebfa4f608f8bf23e65fa68d741.zip
comments.
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lapi.c b/lapi.c
index 029f98e5..75e1c656 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 1.64 1999/12/14 18:31:20 roberto Exp roberto $ 2** $Id: lapi.c,v 1.65 1999/12/23 18:19:57 roberto Exp roberto $
3** Lua API 3** Lua API
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -79,7 +79,7 @@ lua_Object luaA_putObjectOnTop (lua_State *L) {
79 79
80 80
81static void top2LC (lua_State *L, int n) { 81static void top2LC (lua_State *L, int n) {
82 /* Put the 'n' elements on the top as the Lua2C contents */ 82 /* Put the `n' elements on the top as the Lua2C contents */
83 L->Cstack.base = L->top; /* new base */ 83 L->Cstack.base = L->top; /* new base */
84 L->Cstack.lua2C = L->Cstack.base-n; /* position of the new results */ 84 L->Cstack.lua2C = L->Cstack.base-n; /* position of the new results */
85 L->Cstack.num = n; /* number of results */ 85 L->Cstack.num = n; /* number of results */