From 565e6d74e1440b1500d0ba0d3757307de0a38b9e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 19 Sep 2002 10:03:53 -0300 Subject: state's buffer is used only for chars --- lobject.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lobject.h') diff --git a/lobject.h b/lobject.h index f80acfee..d9a5c242 100644 --- a/lobject.h +++ b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 1.144 2002/08/30 19:09:21 roberto Exp roberto $ +** $Id: lobject.h,v 1.145 2002/09/02 19:54:49 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -316,8 +316,7 @@ extern const TObject luaO_nilobject; int luaO_log2 (unsigned int x); -#define luaO_openspace(L,n,t) cast(t *, luaO_openspaceaux(L,(n)*sizeof(t))) -void *luaO_openspaceaux (lua_State *L, size_t n); +char *luaO_openspace (lua_State *L, size_t n); int luaO_rawequalObj (const TObject *t1, const TObject *t2); int luaO_str2d (const char *s, lua_Number *result); -- cgit v1.2.3-55-g6feb