diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-11-01 12:06:50 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-11-01 12:06:50 -0300 |
commit | 737ec947d3f33e73e587f7020dba40b1818ac64d (patch) | |
tree | b34f39f07b9cf9c9b079145140fa5c9651c81e8d /lobject.h | |
parent | 45d566f67691ccae8fe4e5299f9a77873f6c223c (diff) | |
download | lua-737ec947d3f33e73e587f7020dba40b1818ac64d.tar.gz lua-737ec947d3f33e73e587f7020dba40b1818ac64d.tar.bz2 lua-737ec947d3f33e73e587f7020dba40b1818ac64d.zip |
better implementation for `floating-point bytes'
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.h,v 2.5 2004/05/31 18:51:50 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 2.6 2004/10/06 18:34:16 roberto Exp $ |
3 | ** Type definitions for Lua objects | 3 | ** Type definitions for Lua objects |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -352,7 +352,7 @@ extern const TValue luaO_nilobject; | |||
352 | 352 | ||
353 | int luaO_log2 (unsigned int x); | 353 | int luaO_log2 (unsigned int x); |
354 | int luaO_int2fb (unsigned int x); | 354 | int luaO_int2fb (unsigned int x); |
355 | #define fb2int(x) (((x) & 7) << ((x) >> 3)) | 355 | int luaO_fb2int (int x); |
356 | 356 | ||
357 | int luaO_rawequalObj (const TValue *t1, const TValue *t2); | 357 | int luaO_rawequalObj (const TValue *t1, const TValue *t2); |
358 | int luaO_str2d (const char *s, lua_Number *result); | 358 | int luaO_str2d (const char *s, lua_Number *result); |