| 119 | |
| 120 | #if defined(UINT_ESPECIALLY) |
| 121 | LUALIB_API void lua_pushuint64(lua_State* L, uint64_t n) { |
| 122 | Integer64* p = (Integer64*)lua_newuserdata(L, sizeof(Integer64)); |
| 123 | p->fake_id = -1; |
| 124 | p->data.u64 = n; |
| 125 | p->type = UInt; |
| 126 | lua_rawgeti(L, LUA_REGISTRYINDEX, INT64_META_REF); |
| 127 | lua_setmetatable(L, -2); |
| 128 | } |
| 129 | |
| 130 | |
| 131 | LUALIB_API int lua_isuint64(lua_State* L, int pos) { |
no test coverage detected