From 054e0b888a45bc143b8e4cb7a6b77eba0350bb49 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 18 May 1998 19:26:03 -0300 Subject: number type in Lua changed for double (by default). --- lobject.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lobject.h') diff --git a/lobject.h b/lobject.h index d2abaa1b..286261ae 100644 --- a/lobject.h +++ b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 1.17 1998/03/06 16:54:42 roberto Exp $ +** $Id: lobject.h,v 1.18 1998/03/09 21:49:52 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -28,10 +28,11 @@ ** "real" is the type "number" of Lua ** GREP LUA_NUMBER to change that */ -#ifndef real -#define real float +#ifndef LUA_NUM_TYPE +#define LUA_NUM_TYPE double #endif +typedef LUA_NUM_TYPE real; #define Byte lua_Byte /* some systems have Byte as a predefined type */ typedef unsigned char Byte; /* unsigned 8 bits */ -- cgit v1.2.3-55-g6feb