summaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lobject.h b/lobject.h
index 286261ae..c2fa373a 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 1.18 1998/03/09 21:49:52 roberto Exp roberto $ 2** $Id: lobject.h,v 1.19 1998/05/18 22:26:03 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*/
@@ -32,6 +32,11 @@
32#define LUA_NUM_TYPE double 32#define LUA_NUM_TYPE double
33#endif 33#endif
34 34
35/*
36** format to convert number to strings
37*/
38#define NUMBER_FMT "%g"
39
35typedef LUA_NUM_TYPE real; 40typedef LUA_NUM_TYPE real;
36 41
37#define Byte lua_Byte /* some systems have Byte as a predefined type */ 42#define Byte lua_Byte /* some systems have Byte as a predefined type */