ObjFW  Check-in [d5ed52ec5b]

Overview
Comment:Make OFSerializationNS an OFConstantString
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d5ed52ec5b8acbf6384ee60eaa9a3eee6526a515d1ec5835c62c26bc8ba9d8f5
User & Date: js on 2021-10-31 15:50:32
Other Links: manifest | tags
Context
2021-10-31
16:00
Make GCC happy again check-in: 4efb0135d5 user: js tags: trunk
15:50
Make OFSerializationNS an OFConstantString check-in: d5ed52ec5b user: js tags: trunk
14:29
lookup-asm-powerpc64-elf.S: Support for ELF v2 ABI check-in: f9d4d15008 user: js tags: trunk
Changes

Modified src/OFSerialization.h from [e824a5f7ee] to [d27513e6b2].

13
14
15
16
17
18
19

20
21
22
23
24
25
26
 * file.
 */

#import "OFObject.h"

OF_ASSUME_NONNULL_BEGIN


@class OFXMLElement;

/**
 * @protocol OFSerialization OFSerialization.h ObjFW/OFSerialization.h
 *
 * @brief A protocol for serializing objects.
 */







>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 * file.
 */

#import "OFObject.h"

OF_ASSUME_NONNULL_BEGIN

@class OFConstantString;
@class OFXMLElement;

/**
 * @protocol OFSerialization OFSerialization.h ObjFW/OFSerialization.h
 *
 * @brief A protocol for serializing objects.
 */
38
39
40
41
42
43
44
45
46
47
48
49
50
 */
- (instancetype)initWithSerialization: (OFXMLElement *)element;
@end

#ifdef __cplusplus
extern "C" {
#endif
extern OFString *const OFSerializationNS;
#ifdef __cplusplus
}
#endif

OF_ASSUME_NONNULL_END







|





39
40
41
42
43
44
45
46
47
48
49
50
51
 */
- (instancetype)initWithSerialization: (OFXMLElement *)element;
@end

#ifdef __cplusplus
extern "C" {
#endif
extern OFConstantString *const OFSerializationNS;
#ifdef __cplusplus
}
#endif

OF_ASSUME_NONNULL_END

Modified src/OFSerialization.m from [0a6892a6f3] to [0ac8c6a055].

10
11
12
13
14
15
16
17
18

19
 * Alternatively, it may be distributed under the terms of the GNU General
 * Public License, either version 2 or 3, which can be found in the file
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#import "OFSerialization.h"
#import "OFString.h"


OFString *const OFSerializationNS = @"https://objfw.nil.im/serialization";







<

>
|
10
11
12
13
14
15
16

17
18
19
 * Alternatively, it may be distributed under the terms of the GNU General
 * Public License, either version 2 or 3, which can be found in the file
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#import "OFSerialization.h"


OFConstantString *const OFSerializationNS =
    @"https://objfw.nil.im/serialization";