diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-02-07 15:26:33 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-02-07 15:26:33 -0200 |
commit | c6a108e0122c8ddc57f8d12a151908abec4fe562 (patch) | |
tree | 498f4918155a1c190adefbb399b8732edc2bb3cb /ltests.c | |
parent | d5ceb369b1339d92c39bb2a0fb9c30ce6905c569 (diff) | |
download | lua-c6a108e0122c8ddc57f8d12a151908abec4fe562.tar.gz lua-c6a108e0122c8ddc57f8d12a151908abec4fe562.tar.bz2 lua-c6a108e0122c8ddc57f8d12a151908abec4fe562.zip |
test for lua_pushbool
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 | } |