lua

A copy of the Lua development repository
Log | Files | Refs | README

commit bb1cb7b9f112be1fb8453cc7ef4cbaf544850618
parent c64f36ab2bec5b156329edc5d16a27226b598852
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Tue,  1 Dec 1998 17:09:26 -0200

NUMBER_FMT also may be predefined in makefile

Diffstat:
Mlobject.h | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/lobject.h b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 1.21 1998/06/18 16:57:03 roberto Exp roberto $ +** $Id: lobject.h,v 1.22 1998/07/12 16:11:55 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -30,12 +30,9 @@ */ #ifndef LUA_NUM_TYPE #define LUA_NUM_TYPE double +#define NUMBER_FMT "%g" #endif -/* -** format to convert number to strings -*/ -#define NUMBER_FMT "%g" typedef LUA_NUM_TYPE real;