mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-16 10:03:04 -07:00
liblua: fix mix of spaces & tabs
This commit is contained in:
parent
89db6064d0
commit
2b1b76c2a9
53 changed files with 1030 additions and 1029 deletions
|
@ -35,21 +35,21 @@ const char lua_ident[] =
|
|||
|
||||
|
||||
/* value at a non-valid index */
|
||||
#define NONVALIDVALUE cast(TValue *, luaO_nilobject)
|
||||
#define NONVALIDVALUE cast(TValue *, luaO_nilobject)
|
||||
|
||||
/* corresponding test */
|
||||
#define isvalid(o) ((o) != luaO_nilobject)
|
||||
#define isvalid(o) ((o) != luaO_nilobject)
|
||||
|
||||
/* test for pseudo index */
|
||||
#define ispseudo(i) ((i) <= LUA_REGISTRYINDEX)
|
||||
#define ispseudo(i) ((i) <= LUA_REGISTRYINDEX)
|
||||
|
||||
/* test for valid but not pseudo index */
|
||||
#define isstackindex(i, o) (isvalid(o) && !ispseudo(i))
|
||||
#define isstackindex(i, o) (isvalid(o) && !ispseudo(i))
|
||||
|
||||
#define api_checkvalidindex(L, o) api_check(L, isvalid(o), "invalid index")
|
||||
|
||||
#define api_checkstackindex(L, i, o) \
|
||||
api_check(L, isstackindex(i, o), "index not in the stack")
|
||||
api_check(L, isstackindex(i, o), "index not in the stack")
|
||||
|
||||
|
||||
static TValue *index2addr (lua_State *L, int idx) {
|
||||
|
@ -874,7 +874,7 @@ LUA_API void lua_setuservalue (lua_State *L, int idx) {
|
|||
|
||||
#define checkresults(L,na,nr) \
|
||||
api_check(L, (nr) == LUA_MULTRET || (L->ci->top - L->top >= (nr) - (na)), \
|
||||
"results from function overflow current stack size")
|
||||
"results from function overflow current stack size")
|
||||
|
||||
|
||||
LUA_API int lua_getctx (lua_State *L, int *ctx) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue