aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-02-07 15:26:33 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-02-07 15:26:33 -0200
commitc6a108e0122c8ddc57f8d12a151908abec4fe562 (patch)
tree498f4918155a1c190adefbb399b8732edc2bb3cb /ltests.c
parentd5ceb369b1339d92c39bb2a0fb9c30ce6905c569 (diff)
downloadlua-c6a108e0122c8ddc57f8d12a151908abec4fe562.tar.gz
lua-c6a108e0122c8ddc57f8d12a151908abec4fe562.tar.bz2
lua-c6a108e0122c8ddc57f8d12a151908abec4fe562.zip
test for lua_pushbool
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ltests.c b/ltests.c
index ea61c741..42fbc64e 100644
--- a/ltests.c
+++ b/ltests.c
@@ -561,6 +561,9 @@ static int testC (lua_State *L) {
561 else if EQ("pushnum") { 561 else if EQ("pushnum") {
562 lua_pushnumber(L, getnum); 562 lua_pushnumber(L, getnum);
563 } 563 }
564 else if EQ("pushbool") {
565 lua_pushboolean(L, getnum);
566 }
564 else if EQ("pushvalue") { 567 else if EQ("pushvalue") {
565 lua_pushvalue(L, getnum); 568 lua_pushvalue(L, getnum);
566 } 569 }