mirror of https://github.com/rusefi/lua.git
test for lua_pushbool
This commit is contained in:
parent
d5ceb369b1
commit
c6a108e012
3
ltests.c
3
ltests.c
|
@ -561,6 +561,9 @@ static int testC (lua_State *L) {
|
||||||
else if EQ("pushnum") {
|
else if EQ("pushnum") {
|
||||||
lua_pushnumber(L, getnum);
|
lua_pushnumber(L, getnum);
|
||||||
}
|
}
|
||||||
|
else if EQ("pushbool") {
|
||||||
|
lua_pushboolean(L, getnum);
|
||||||
|
}
|
||||||
else if EQ("pushvalue") {
|
else if EQ("pushvalue") {
|
||||||
lua_pushvalue(L, getnum);
|
lua_pushvalue(L, getnum);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue