diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-12-04 16:33:40 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-12-04 16:33:40 -0200 |
commit | 4894c2796277b47b0ffc8983e8231d2cc95ee09b (patch) | |
tree | dc702c79716a42f22301bc5b9b5798a28173f7c2 /lobject.h | |
parent | 10ac68c648e0e1d23fe5485bc711df8fc71b6ae3 (diff) | |
download | lua-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.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 | */ |
103 | typedef struct Proto { | 103 | typedef 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); | |||
195 | char *luaO_openspace (lua_State *L, size_t n); | 195 | char *luaO_openspace (lua_State *L, size_t n); |
196 | 196 | ||
197 | int luaO_equalObj (const TObject *t1, const TObject *t2); | 197 | int luaO_equalObj (const TObject *t1, const TObject *t2); |
198 | int luaO_str2d (const char *s, Number *result); | 198 | int luaO_str2d (const char *s, lua_Number *result); |
199 | 199 | ||
200 | void luaO_verror (lua_State *L, const char *fmt, ...); | 200 | void luaO_verror (lua_State *L, const char *fmt, ...); |
201 | void luaO_chunkid (char *out, const char *source, int len); | 201 | void luaO_chunkid (char *out, const char *source, int len); |