diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-20 15:15:33 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-20 15:15:33 -0300 |
commit | 099442c41f2cec6122690e6c8f2e11327613e6f6 (patch) | |
tree | 73599b274ea4a9b96906ff8160eeb4a524702a8e /lapi.c | |
parent | 27600fe87a6fafdfd4ddddeb390591fe749b480f (diff) | |
download | lua-099442c41f2cec6122690e6c8f2e11327613e6f6.tar.gz lua-099442c41f2cec6122690e6c8f2e11327613e6f6.tar.bz2 lua-099442c41f2cec6122690e6c8f2e11327613e6f6.zip |
better separation between basic types
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; |