@@ -184,7 +184,7 @@ PMC * SixModelObject_bootstrap_knowhow(PARROT_INTERP, PMC *sc) {
184
184
/* We create a KnowHOW instance that can describe itself. This means
185
185
* .HOW.HOW.HOW.HOW etc will always return that, which closes the model
186
186
* 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 );
188
188
KnowHOWREPRInstance * knowhow_how = (KnowHOWREPRInstance * )PMC_data (knowhow_how_pmc );
189
189
190
190
/* Need to give the knowhow_how a twiddled STable with a different
@@ -261,7 +261,7 @@ static void attr_new(PARROT_INTERP, PMC *nci) {
261
261
PMC * type = VTABLE_get_pmc_keyed_int (interp , capture , 0 );
262
262
STRING * name = VTABLE_get_string_keyed_str (interp , capture , name_str );
263
263
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 );
265
265
unused = Parrot_pcc_build_call_from_c_args (interp , capture , "P" , self );
266
266
}
267
267
@@ -270,7 +270,7 @@ static void attr_name(PARROT_INTERP, PMC *nci) {
270
270
PMC * unused ;
271
271
PMC * capture = Parrot_pcc_get_signature (interp , CURRENT_CONTEXT (interp ));
272
272
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 ));
274
274
unused = Parrot_pcc_build_call_from_c_args (interp , capture , "S" , name );
275
275
}
276
276
0 commit comments