Differences From Artifact [d12879cd95]:
- File
src/OFXMLElement.m
— part of check-in
[0ddaac3f5b]
at
2020-11-05 00:24:29
on branch trunk
— Avoid -[allocMemoryWithSize:] for temporary memory
-[allocMemoryWithSize:] has book keeping overhead that is unnecessary
for temporary memory. (user: js, size: 25877) [annotate] [blame] [check-ins using] [more...]
To Artifact [c47060e7f9]:
- File
src/OFXMLElement.m
— part of check-in
[627511b032]
at
2020-11-14 12:23:55
on branch trunk
— Rename of_malloc and of_calloc
The new names should be more accurate. (user: js, size: 25876) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
458 459 460 461 462 463 464 | else if (parent != nil && parent->_defaultNamespace != nil) defaultNS = parent->_defaultNamespace; else defaultNS = _defaultNamespace; i = 0; length = _name.UTF8StringLength + 3 + (level * indentation); | | | 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 | else if (parent != nil && parent->_defaultNamespace != nil) defaultNS = parent->_defaultNamespace; else defaultNS = _defaultNamespace; i = 0; length = _name.UTF8StringLength + 3 + (level * indentation); cString = of_alloc(length, 1); @try { memset(cString + i, ' ', level * indentation); i += level * indentation; /* Start of tag */ cString[i++] = '<'; |
︙ | ︙ |