commit c6a108e0122c8ddc57f8d12a151908abec4fe562
parent d5ceb369b1339d92c39bb2a0fb9c30ce6905c569
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Thu, 7 Feb 2002 15:26:11 -0200
test for lua_pushbool
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/ltests.c b/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);
}