diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-12-01 17:09:47 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-12-01 17:09:47 -0200 |
commit | bb1cb7b9f112be1fb8453cc7ef4cbaf544850618 (patch) | |
tree | d50a20a1137513e4a7c6860d41832fd439969e3a /lobject.h | |
parent | c64f36ab2bec5b156329edc5d16a27226b598852 (diff) | |
download | lua-bb1cb7b9f112be1fb8453cc7ef4cbaf544850618.tar.gz lua-bb1cb7b9f112be1fb8453cc7ef4cbaf544850618.tar.bz2 lua-bb1cb7b9f112be1fb8453cc7ef4cbaf544850618.zip |
NUMBER_FMT also may be predefined in makefile
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.h,v 1.21 1998/06/18 16:57:03 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 1.22 1998/07/12 16:11:55 roberto Exp roberto $ |
3 | ** Type definitions for Lua objects | 3 | ** Type definitions for Lua objects |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -30,12 +30,9 @@ | |||
30 | */ | 30 | */ |
31 | #ifndef LUA_NUM_TYPE | 31 | #ifndef LUA_NUM_TYPE |
32 | #define LUA_NUM_TYPE double | 32 | #define LUA_NUM_TYPE double |
33 | #define NUMBER_FMT "%g" | ||
33 | #endif | 34 | #endif |
34 | 35 | ||
35 | /* | ||
36 | ** format to convert number to strings | ||
37 | */ | ||
38 | #define NUMBER_FMT "%g" | ||
39 | 36 | ||
40 | typedef LUA_NUM_TYPE real; | 37 | typedef LUA_NUM_TYPE real; |
41 | 38 | ||