From 737ec947d3f33e73e587f7020dba40b1818ac64d Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 1 Nov 2004 12:06:50 -0300 Subject: better implementation for `floating-point bytes' --- lobject.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lobject.h') diff --git a/lobject.h b/lobject.h index b407a196..fb54c3d8 100644 --- a/lobject.h +++ b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 2.5 2004/05/31 18:51:50 roberto Exp roberto $ +** $Id: lobject.h,v 2.6 2004/10/06 18:34:16 roberto Exp $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -352,7 +352,7 @@ extern const TValue luaO_nilobject; int luaO_log2 (unsigned int x); int luaO_int2fb (unsigned int x); -#define fb2int(x) (((x) & 7) << ((x) >> 3)) +int luaO_fb2int (int x); int luaO_rawequalObj (const TValue *t1, const TValue *t2); int luaO_str2d (const char *s, lua_Number *result); -- cgit v1.2.3-55-g6feb