diff options
Diffstat (limited to 'lapi.c')
| -rw-r--r-- | lapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lapi.c,v 1.129 2001/02/13 16:17:53 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 1.130 2001/02/14 17:04:11 roberto Exp roberto $ |
| 3 | ** Lua API | 3 | ** Lua API |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -549,7 +549,7 @@ LUA_API void lua_rawcall (lua_State *L, int nargs, int nresults) { | |||
| 549 | 549 | ||
| 550 | /* GC values are expressed in Kbytes: #bytes/2^10 */ | 550 | /* GC values are expressed in Kbytes: #bytes/2^10 */ |
| 551 | #define GCscale(x) ((int)((x)>>10)) | 551 | #define GCscale(x) ((int)((x)>>10)) |
| 552 | #define GCunscale(x) ((mem_int)(x)<<10) | 552 | #define GCunscale(x) ((lu_mem)(x)<<10) |
| 553 | 553 | ||
| 554 | LUA_API int lua_getgcthreshold (lua_State *L) { | 554 | LUA_API int lua_getgcthreshold (lua_State *L) { |
| 555 | int threshold; | 555 | int threshold; |
