Skip to content

Commit af15c58

Browse files
committed
Update to get 6model core to build agian.
1 parent c098088 commit af15c58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/6model/knowhow_bootstrapper.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ PMC * SixModelObject_bootstrap_knowhow(PARROT_INTERP, PMC *sc) {
184184
/* We create a KnowHOW instance that can describe itself. This means
185185
* .HOW.HOW.HOW.HOW etc will always return that, which closes the model
186186
* up. Also pull out its underlying struct. */
187-
PMC *knowhow_how_pmc = REPR->allocate(interp, PMCNULL);
187+
PMC *knowhow_how_pmc = REPR->allocate(interp, NULL);
188188
KnowHOWREPRInstance *knowhow_how = (KnowHOWREPRInstance *)PMC_data(knowhow_how_pmc);
189189

190190
/* Need to give the knowhow_how a twiddled STable with a different
@@ -261,7 +261,7 @@ static void attr_new(PARROT_INTERP, PMC *nci) {
261261
PMC *type = VTABLE_get_pmc_keyed_int(interp, capture, 0);
262262
STRING *name = VTABLE_get_string_keyed_str(interp, capture, name_str);
263263
PMC *self = REPR(type)->allocate(interp, STABLE(type));
264-
REPR(self)->set_str(interp, STABLE(self), OBJECT_BODY(self), name);
264+
REPR(self)->box_funcs->set_str(interp, STABLE(self), OBJECT_BODY(self), name);
265265
unused = Parrot_pcc_build_call_from_c_args(interp, capture, "P", self);
266266
}
267267

@@ -270,7 +270,7 @@ static void attr_name(PARROT_INTERP, PMC *nci) {
270270
PMC * unused;
271271
PMC *capture = Parrot_pcc_get_signature(interp, CURRENT_CONTEXT(interp));
272272
PMC *self = VTABLE_get_pmc_keyed_int(interp, capture, 0);
273-
STRING *name = REPR(self)->get_str(interp, STABLE(self), OBJECT_BODY(self));
273+
STRING *name = REPR(self)->box_funcs->get_str(interp, STABLE(self), OBJECT_BODY(self));
274274
unused = Parrot_pcc_build_call_from_c_args(interp, capture, "S", name);
275275
}
276276

0 commit comments

Comments
 (0)