aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-12-04 16:33:40 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-12-04 16:33:40 -0200
commit4894c2796277b47b0ffc8983e8231d2cc95ee09b (patch)
treedc702c79716a42f22301bc5b9b5798a28173f7c2 /lobject.h
parent10ac68c648e0e1d23fe5485bc711df8fc71b6ae3 (diff)
downloadlua-4894c2796277b47b0ffc8983e8231d2cc95ee09b.tar.gz
lua-4894c2796277b47b0ffc8983e8231d2cc95ee09b.tar.bz2
lua-4894c2796277b47b0ffc8983e8231d2cc95ee09b.zip
lua_Number defined in lua.h (1st version)
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lobject.h b/lobject.h
index f0f7de20..916cc4d1 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 1.82 2000/10/30 17:49:19 roberto Exp roberto $ 2** $Id: lobject.h,v 1.83 2000/11/24 17:39:56 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*/
@@ -48,7 +48,7 @@ typedef union {
48 struct Closure *cl; /* LUA_TFUNCTION */ 48 struct Closure *cl; /* LUA_TFUNCTION */
49 struct Hash *a; /* LUA_TTABLE */ 49 struct Hash *a; /* LUA_TTABLE */
50 struct CallInfo *i; /* LUA_TLMARK */ 50 struct CallInfo *i; /* LUA_TLMARK */
51 Number n; /* LUA_TNUMBER */ 51 lua_Number n; /* LUA_TNUMBER */
52} Value; 52} Value;
53 53
54 54
@@ -101,7 +101,7 @@ typedef struct TString {
101** Function Prototypes 101** Function Prototypes
102*/ 102*/
103typedef struct Proto { 103typedef struct Proto {
104 Number *knum; /* Number numbers used by the function */ 104 lua_Number *knum; /* numbers used by the function */
105 int nknum; /* size of `knum' */ 105 int nknum; /* size of `knum' */
106 struct TString **kstr; /* strings used by the function */ 106 struct TString **kstr; /* strings used by the function */
107 int nkstr; /* size of `kstr' */ 107 int nkstr; /* size of `kstr' */
@@ -195,7 +195,7 @@ luint32 luaO_power2 (luint32 n);
195char *luaO_openspace (lua_State *L, size_t n); 195char *luaO_openspace (lua_State *L, size_t n);
196 196
197int luaO_equalObj (const TObject *t1, const TObject *t2); 197int luaO_equalObj (const TObject *t1, const TObject *t2);
198int luaO_str2d (const char *s, Number *result); 198int luaO_str2d (const char *s, lua_Number *result);
199 199
200void luaO_verror (lua_State *L, const char *fmt, ...); 200void luaO_verror (lua_State *L, const char *fmt, ...);
201void luaO_chunkid (char *out, const char *source, int len); 201void luaO_chunkid (char *out, const char *source, int len);