aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
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 */