Ticket #1347: addrregistry_1.pmc.patch
File addrregistry_1.pmc.patch, 0.7 KB (added by jimmy, 12 years ago) |
---|
-
src/pmc/addrregistry.pmc
40 40 */ 41 41 42 42 VTABLE void init() { 43 Hash * registry= parrot_create_hash(INTERP,43 Hash *hash = parrot_create_hash(INTERP, 44 44 enum_type_int, 45 45 Hash_key_type_PMC, 46 46 int_compare, 47 47 key_hash_int); 48 48 49 Parrot_AddrRegistry_attributes *attrs = 50 (Parrot_AddrRegistry_attributes *) PMC_data(SELF); 51 52 SELF.set_pointer(registry); 49 SET_ATTR_hash(INTERP, SELF, hash); 53 50 PObj_custom_mark_destroy_SETALL(SELF); 54 51 55 52 }