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