|
|
|
@ -609,7 +609,8 @@ void protocol_addProperty(Protocol *aProtocol,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
struct objc_property_list *list = *listPtr;
|
|
|
|
struct objc_property_list *list = *listPtr;
|
|
|
|
int index = list->count-1;
|
|
|
|
int index = list->count-1;
|
|
|
|
list->properties[index] = propertyFromAttrs(attributes, attributeCount);
|
|
|
|
struct objc_property p = propertyFromAttrs(attributes, attributeCount);
|
|
|
|
list->properties[index].name = strdup(name);
|
|
|
|
p.name = strdup(name);
|
|
|
|
|
|
|
|
memcpy(&(list->properties[index]), &p, sizeof(p));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|