aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-04-25 13:55:09 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-04-25 13:55:09 -0300
commit534c3a64d3b47585b415f229aa03af35f9a4796e (patch)
treebda9de835dbeff8b73ed5f0977e81dc9573ad046 /lobject.h
parentb9c98cd4d97774d703a48fefd56c66f552e0cd83 (diff)
downloadlua-534c3a64d3b47585b415f229aa03af35f9a4796e.tar.gz
lua-534c3a64d3b47585b415f229aa03af35f9a4796e.tar.bz2
lua-534c3a64d3b47585b415f229aa03af35f9a4796e.zip
small optimizations for table access
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lobject.h b/lobject.h
index 57ea2bd0..921a7a05 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 1.59 2000/03/31 16:28:45 roberto Exp roberto $ 2** $Id: lobject.h,v 1.60 2000/04/10 19:20:24 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*/
@@ -180,8 +180,7 @@ extern const TObject luaO_nilobject;
180 180
181unsigned long luaO_power2 (unsigned long n); 181unsigned long luaO_power2 (unsigned long n);
182 182
183#define luaO_equalObj(t1,t2) (ttype(t1) == ttype(t2) && luaO_equalval(t1,t2)) 183int luaO_equalObj (const TObject *t1, const TObject *t2);
184int luaO_equalval (const TObject *t1, const TObject *t2);
185int luaO_redimension (lua_State *L, int oldsize); 184int luaO_redimension (lua_State *L, int oldsize);
186int luaO_str2d (const char *s, Number *result); 185int luaO_str2d (const char *s, Number *result);
187 186