eventtable' renamed to metatable'

This commit is contained in:
Roberto Ierusalimschy
2002-01-30 15:26:44 -02:00
parent 50e2952593
commit d6fd33e76f
13 changed files with 69 additions and 69 deletions

View File

@@ -88,7 +88,7 @@ Udata *luaS_newudata (lua_State *L, size_t s) {
if (s & 1) s++; /* make sure size is even */
u = cast(Udata *, luaM_malloc(L, sizeudata(s)));
u->uv.len = s;
u->uv.eventtable = hvalue(defaultet(L));
u->uv.metatable = hvalue(defaultmeta(L));
u->uv.value = u + 1;
/* chain it on udata list */
u->uv.next = G(L)->rootudata;