misc/liblua/lapi.c
changeset 10017 de822cd3df3a
parent 3697 d5b30d6373fc
equal deleted inserted replaced
10015:4feced261c68 10017:de822cd3df3a
    36   "$Authors: " LUA_AUTHORS " $\n"
    36   "$Authors: " LUA_AUTHORS " $\n"
    37   "$URL: www.lua.org $\n";
    37   "$URL: www.lua.org $\n";
    38 
    38 
    39 
    39 
    40 
    40 
    41 #define api_checknelems(L, n)	api_check(L, (n) <= (L->top - L->base))
    41 #define api_checknelems(L, n)   api_check(L, (n) <= (L->top - L->base))
    42 
    42 
    43 #define api_checkvalidindex(L, i)	api_check(L, (i) != luaO_nilobject)
    43 #define api_checkvalidindex(L, i)   api_check(L, (i) != luaO_nilobject)
    44 
    44 
    45 #define api_incr_top(L)   {api_check(L, L->top < L->ci->top); L->top++;}
    45 #define api_incr_top(L)   {api_check(L, L->top < L->ci->top); L->top++;}
    46 
    46 
    47 
    47 
    48 
    48