From 84e0b1bc9789148092797fecf303547fef35a875 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 22 Oct 2002 14:18:28 -0300 Subject: small changes in type configuration facilities --- lua.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lua.h') diff --git a/lua.h b/lua.h index d3a22a75..49a99f88 100644 --- a/lua.h +++ b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.156 2002/08/30 20:00:59 roberto Exp roberto $ +** $Id: lua.h,v 1.157 2002/09/02 20:00:41 roberto Exp roberto $ ** Lua - An Extensible Extension Language ** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil ** http://www.lua.org mailto:info@lua.org @@ -86,9 +86,10 @@ typedef const char * (*lua_Chunkreader) (lua_State *L, void *ud, size_t *sz); /* type of Numbers in Lua */ #ifndef LUA_NUMBER -#define LUA_NUMBER double -#endif +typedef double lua_Number; +#else typedef LUA_NUMBER lua_Number; +#endif /* mark for all API functions */ -- cgit v1.2.3-55-g6feb