diff options
author | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-16 11:55:54 +0100 |
---|---|---|
committer | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-16 11:55:54 +0100 |
commit | 739b5c1888b38b2580adbe52a42b86372a7d146b (patch) | |
tree | 0c66b7a13dd7eb61e77b143b904b3f0f4ff76a49 /tests/C/lua_pushnumber.c | |
parent | e14d05a2c3994352c671d4d4af7194aa47967ca6 (diff) | |
download | fengari-739b5c1888b38b2580adbe52a42b86372a7d146b.tar.gz fengari-739b5c1888b38b2580adbe52a42b86372a7d146b.tar.bz2 fengari-739b5c1888b38b2580adbe52a42b86372a7d146b.zip |
lua_pushnumber, lua_pushinteger, lua_pushstring, lua_pushboolean
Diffstat (limited to 'tests/C/lua_pushnumber.c')
-rw-r--r-- | tests/C/lua_pushnumber.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/C/lua_pushnumber.c b/tests/C/lua_pushnumber.c index eca2564..697258f 100644 --- a/tests/C/lua_pushnumber.c +++ b/tests/C/lua_pushnumber.c @@ -10,7 +10,7 @@ int main(void) { luaL_openlibs(L); - lua_pushnumber(L, 10); + lua_pushnumber(L, 10.5); printf("L->top(%d): %s\n", lua_gettop(L), luaL_typename(L, lua_gettop(L))); |