MethodTable* MethodTable::create(STATE, size_t size) { MethodTable *tbl; tbl = state->memory()->new_object<MethodTable>(state, G(method_table)); tbl->setup(state, size); return tbl; }
MethodTable* MethodTable::create(STATE, size_t size) { MethodTable *tbl; tbl = state->new_object<MethodTable>(G(methtbl)); tbl->setup(state, size); return tbl; }