LookupTable* LookupTable::create(STATE, size_t size) { LookupTable *tbl; tbl = state->new_object<LookupTable>(G(lookuptable)); tbl->setup(state, size); return tbl; }
LookupTable* LookupTable::create(STATE, size_t size) { LookupTable *tbl; tbl = (LookupTable*)state->om->new_object(G(lookuptable), LookupTable::fields); tbl->setup(state, size); return tbl; }