update to lua 5.3, remove lua unsigned api

This commit is contained in:
Cloud Wu
2015-01-05 16:25:42 +08:00
parent 4a2b253b40
commit c7b5015e10
76 changed files with 6960 additions and 5058 deletions

View File

@@ -6,7 +6,7 @@
static int
ltotal(lua_State *L) {
size_t t = malloc_used_memory();
lua_pushunsigned(L, t);
lua_pushinteger(L, (lua_Integer)t);
return 1;
}
@@ -14,7 +14,7 @@ ltotal(lua_State *L) {
static int
lblock(lua_State *L) {
size_t t = malloc_memory_block();
lua_pushunsigned(L, t);
lua_pushinteger(L, (lua_Integer)t);
return 1;
}