From b95e46621873cfb460e1d11dcd153914d5d69f86 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 15 Jun 2018 16:31:22 -0300 Subject: new field 'nilvalue' in struct 'global_State' to avoid the use of addresses of static variables --- lobject.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lobject.h') diff --git a/lobject.h b/lobject.h index 7c2b3f84..dbb9982d 100644 --- a/lobject.h +++ b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 2.144 2018/06/01 17:40:38 roberto Exp roberto $ +** $Id: lobject.h,v 2.145 2018/06/15 14:14:20 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -144,9 +144,6 @@ typedef StackValue *StkId; /* index to stack elements */ #define ttisstrictnil(o) checktag((o), LUA_TNIL) -/* macro defining a nil value */ -#define NILCONSTANT {NULL}, LUA_TNIL - #define setnilvalue(obj) settt_(obj, LUA_TNIL) -- cgit v1.2.3-55-g6feb