diff options
Diffstat (limited to 'lobject.h')
| -rw-r--r-- | lobject.h | 10 |
1 files changed, 5 insertions, 5 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.h,v 1.115 2001/10/25 19:14:14 roberto Exp $ | 2 | ** $Id: lobject.h,v 1.116 2001/11/06 21:41:53 roberto Exp $ |
| 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 | */ |
| @@ -114,7 +114,7 @@ typedef union TString { | |||
| 114 | } TString; | 114 | } TString; |
| 115 | 115 | ||
| 116 | 116 | ||
| 117 | #define getstr(ts) cast(l_char *, (ts) + 1) | 117 | #define getstr(ts) cast(char *, (ts) + 1) |
| 118 | #define svalue(o) getstr(tsvalue(o)) | 118 | #define svalue(o) getstr(tsvalue(o)) |
| 119 | 119 | ||
| 120 | 120 | ||
| @@ -277,10 +277,10 @@ int luaO_log2 (unsigned int x); | |||
| 277 | void *luaO_openspaceaux (lua_State *L, size_t n); | 277 | void *luaO_openspaceaux (lua_State *L, size_t n); |
| 278 | 278 | ||
| 279 | int luaO_equalObj (const TObject *t1, const TObject *t2); | 279 | int luaO_equalObj (const TObject *t1, const TObject *t2); |
| 280 | int luaO_str2d (const l_char *s, lua_Number *result); | 280 | int luaO_str2d (const char *s, lua_Number *result); |
| 281 | 281 | ||
| 282 | void luaO_verror (lua_State *L, const l_char *fmt, ...); | 282 | void luaO_verror (lua_State *L, const char *fmt, ...); |
| 283 | void luaO_chunkid (l_char *out, const l_char *source, int len); | 283 | void luaO_chunkid (char *out, const char *source, int len); |
| 284 | 284 | ||
| 285 | 285 | ||
| 286 | #endif | 286 | #endif |
