From 037a70dfea9de66e8d27c8d3ce2ed9f159a1b094 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 15 Apr 2014 13:32:49 -0300 Subject: cast_u2s/cast_s2u renamed l_castS2U/l_castU2S to be configurable from outside (mostly for testing) --- lvm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lvm.h') diff --git a/lvm.h b/lvm.h index d85c3a4e..669cf391 100644 --- a/lvm.h +++ b/lvm.h @@ -1,5 +1,5 @@ /* -** $Id: lvm.h,v 2.26 2014/03/31 18:37:52 roberto Exp roberto $ +** $Id: lvm.h,v 2.27 2014/04/15 14:28:20 roberto Exp roberto $ ** Lua virtual machine ** See Copyright Notice in lua.h */ @@ -19,7 +19,7 @@ #define tointeger(o,i) \ (ttisinteger(o) ? (*(i) = ivalue(o), 1) : luaV_tointeger_(o,i)) -#define intop(op,v1,v2) cast_u2s(cast_s2u(v1) op cast_s2u(v2)) +#define intop(op,v1,v2) l_castU2S(l_castS2U(v1) op l_castS2U(v2)) #define luaV_rawequalobj(t1,t2) luaV_equalobj(NULL,t1,t2) -- cgit v1.2.3-55-g6feb