test for lua_pushbool

This commit is contained in:
Roberto Ierusalimschy 2002-02-07 15:26:33 -02:00
parent d5ceb369b1
commit c6a108e012

View File

@ -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);
}