| 471 | |
| 472 | |
| 473 | LUA_API void lua_pushnumber (lua_State *L, lua_Number n) { |
| 474 | lua_lock(L); |
| 475 | setnvalue(L->top, n); |
| 476 | luai_checknum(L, L->top, |
| 477 | luaG_runerror(L, "C API - attempt to push a signaling NaN")); |
| 478 | api_incr_top(L); |
| 479 | lua_unlock(L); |
| 480 | } |
| 481 | |
| 482 | |
| 483 | LUA_API void lua_pushinteger (lua_State *L, lua_Integer n) { |
no test coverage detected