Differences From Artifact [ada192cadd]:
- File src/OFXMLElement.m — part of check-in [eed200181b] at 2022-09-04 13:17:27 on branch trunk — OFXMLElement: Remove defaultNamespace property (user: js, size: 25431) [annotate] [blame] [check-ins using] [more...]
To Artifact [f2bc65b077]:
- File
src/OFXMLElement.m
— part of check-in
[c86b8f10f0]
at
2022-11-16 01:27:26
on branch trunk
— Add OFAssert()
This uses the same format as OFEnsure(). (user: js, size: 25412) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
16 17 18 19 20 21 22 | #include "config.h" #define OF_XML_ELEMENT_M #include <stdlib.h> #include <string.h> | < < | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | #include "config.h" #define OF_XML_ELEMENT_M #include <stdlib.h> #include <string.h> #import "OFXMLElement.h" #import "OFArray.h" #import "OFData.h" #import "OFDictionary.h" #import "OFStream.h" #import "OFString.h" #import "OFXMLAttribute.h" |
︙ | ︙ | |||
629 630 631 632 633 634 635 | memcpy(cString + i, _name.UTF8String, _name.UTF8StringLength); i += _name.UTF8StringLength; } else cString[i++] = '/'; cString[i++] = '>'; | | | 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 | memcpy(cString + i, _name.UTF8String, _name.UTF8StringLength); i += _name.UTF8StringLength; } else cString[i++] = '/'; cString[i++] = '>'; OFAssert(i == length); objc_autoreleasePoolPop(pool); ret = [OFString stringWithUTF8String: cString length: length]; } @finally { OFFreeMemory(cString); |
︙ | ︙ |