diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-01-30 15:26:44 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-01-30 15:26:44 -0200 |
commit | d6fd33e76fdeb919fd91860aa9d0f9524e6d415a (patch) | |
tree | f2347c99a8d57564b22e622d405f5c3d03061982 /ltable.c | |
parent | 50e29525936be4891f9db090f293432913b5f7c0 (diff) | |
download | lua-d6fd33e76fdeb919fd91860aa9d0f9524e6d415a.tar.gz lua-d6fd33e76fdeb919fd91860aa9d0f9524e6d415a.tar.bz2 lua-d6fd33e76fdeb919fd91860aa9d0f9524e6d415a.zip |
`eventtable' renamed to `metatable'
Diffstat (limited to 'ltable.c')
-rw-r--r-- | ltable.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -273,7 +273,7 @@ static void rehash (lua_State *L, Table *t) { | |||
273 | 273 | ||
274 | Table *luaH_new (lua_State *L, int narray, int lnhash) { | 274 | Table *luaH_new (lua_State *L, int narray, int lnhash) { |
275 | Table *t = luaM_new(L, Table); | 275 | Table *t = luaM_new(L, Table); |
276 | t->eventtable = hvalue(defaultet(L)); | 276 | t->metatable = hvalue(defaultmeta(L)); |
277 | t->next = G(L)->roottable; | 277 | t->next = G(L)->roottable; |
278 | G(L)->roottable = t; | 278 | G(L)->roottable = t; |
279 | t->mark = t; | 279 | t->mark = t; |