diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-09-19 10:03:53 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-09-19 10:03:53 -0300 |
commit | 565e6d74e1440b1500d0ba0d3757307de0a38b9e (patch) | |
tree | fb03ae16585a6288a8f2c95621f30058cd806e29 /lobject.h | |
parent | f6bc7884be000a82809c8f973a81b2ea50760937 (diff) | |
download | lua-565e6d74e1440b1500d0ba0d3757307de0a38b9e.tar.gz lua-565e6d74e1440b1500d0ba0d3757307de0a38b9e.tar.bz2 lua-565e6d74e1440b1500d0ba0d3757307de0a38b9e.zip |
state's buffer is used only for chars
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.h,v 1.144 2002/08/30 19:09:21 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 1.145 2002/09/02 19:54:49 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 | */ |
@@ -316,8 +316,7 @@ extern const TObject luaO_nilobject; | |||
316 | int luaO_log2 (unsigned int x); | 316 | int luaO_log2 (unsigned int x); |
317 | 317 | ||
318 | 318 | ||
319 | #define luaO_openspace(L,n,t) cast(t *, luaO_openspaceaux(L,(n)*sizeof(t))) | 319 | char *luaO_openspace (lua_State *L, size_t n); |
320 | void *luaO_openspaceaux (lua_State *L, size_t n); | ||
321 | 320 | ||
322 | int luaO_rawequalObj (const TObject *t1, const TObject *t2); | 321 | int luaO_rawequalObj (const TObject *t1, const TObject *t2); |
323 | int luaO_str2d (const char *s, lua_Number *result); | 322 | int luaO_str2d (const char *s, lua_Number *result); |