mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
test for lua_pushbool
This commit is contained in:
parent
d5ceb369b1
commit
c6a108e012
1 changed files with 3 additions and 0 deletions
3
ltests.c
3
ltests.c
|
|
@ -561,6 +561,9 @@ static int testC (lua_State *L) {
|
|||
else if EQ("pushnum") {
|
||||
lua_pushnumber(L, getnum);
|
||||
}
|
||||
else if EQ("pushbool") {
|
||||
lua_pushboolean(L, getnum);
|
||||
}
|
||||
else if EQ("pushvalue") {
|
||||
lua_pushvalue(L, getnum);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue