aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lapi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lapi.c b/lapi.c
index faf0fa2c..e9ad6f2a 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 1.176 2002/03/07 18:15:10 roberto Exp roberto $ 2** $Id: lapi.c,v 1.177 2002/03/18 18:18:35 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*/
@@ -35,7 +35,8 @@ const char lua_ident[] =
35 35
36#define api_checknelems(L, n) api_check(L, (n) <= (L->top - L->ci->base)) 36#define api_checknelems(L, n) api_check(L, (n) <= (L->top - L->ci->base))
37 37
38#define api_incr_top(L) incr_top(L) 38#define api_incr_top(L) (api_check(L, L->top+1<L->stack_last), L->top++)
39
39 40
40 41
41 42