From 39b79783297bee79db9853b63d199e120a009a8f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 23 Feb 2001 14:17:25 -0300 Subject: first (big) step to support wide chars --- lobject.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'lobject.h') diff --git a/lobject.h b/lobject.h index 74f3c616..245a5d29 100644 --- a/lobject.h +++ b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 1.96 2001/02/20 18:15:33 roberto Exp roberto $ +** $Id: lobject.h,v 1.97 2001/02/20 18:28:11 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -117,7 +117,7 @@ union L_UTString { -#define getstr(ts) ((char *)(ts) + sizeof(union L_UTString)) +#define getstr(ts) ((l_char *)(ts) + sizeof(union L_UTString)) #define svalue(o) getstr(tsvalue(o)) @@ -200,7 +200,7 @@ typedef struct Hash { /* -** "module" operation for hashing (size is always a power of 2) +** `module' operation for hashing (size is always a power of 2) */ #define lmod(s,size) ((int)((s) & ((size)-1))) @@ -220,13 +220,13 @@ typedef struct CallInfo { extern const TObject luaO_nilobject; -char *luaO_openspace (lua_State *L, size_t n); +l_char *luaO_openspace (lua_State *L, size_t n); int luaO_equalObj (const TObject *t1, const TObject *t2); -int luaO_str2d (const char *s, lua_Number *result); +int luaO_str2d (const l_char *s, lua_Number *result); -void luaO_verror (lua_State *L, const char *fmt, ...); -void luaO_chunkid (char *out, const char *source, int len); +void luaO_verror (lua_State *L, const l_char *fmt, ...); +void luaO_chunkid (l_char *out, const l_char *source, int len); #endif -- cgit v1.2.3-55-g6feb