aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lapi.c b/lapi.c
index 7850dcc2..694fdc35 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 2.99 2009/11/09 18:55:17 roberto Exp roberto $ 2** $Id: lapi.c,v 2.100 2009/11/09 19:10:48 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,9 +35,6 @@ const char lua_ident[] =
35 35
36 36
37 37
38#define api_checknelems(L,n) api_check(L, (n) < (L->top - L->ci->func), \
39 "not enough elements in the stack")
40
41#define api_checkvalidindex(L, i) api_check(L, (i) != luaO_nilobject, \ 38#define api_checkvalidindex(L, i) api_check(L, (i) != luaO_nilobject, \
42 "invalid index") 39 "invalid index")
43 40