From 062e809e542ec066986c4e3e054f95e1bfc0cb50 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 19 Nov 2009 17:06:52 -0200 Subject: new macros 'LUAI_DDEC'/'LUAI_DDEF' to better control declarations and definitions of non-static variables --- lobject.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lobject.h') diff --git a/lobject.h b/lobject.h index fe198355..5dcfb3d3 100644 --- a/lobject.h +++ b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 2.31 2009/11/05 17:43:54 roberto Exp roberto $ +** $Id: lobject.h,v 2.32 2009/11/06 17:09:27 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -370,7 +370,7 @@ typedef struct Table { #define luaO_nilobject (&luaO_nilobject_) -LUAI_DATA const TValue luaO_nilobject_; +LUAI_DDEC const TValue luaO_nilobject_; LUAI_FUNC int luaO_int2fb (unsigned int x); LUAI_FUNC int luaO_fb2int (int x); -- cgit v1.2.3-55-g6feb