ObjFW  Check-in [6ca5d172b9]

Overview
Comment:OFValue: Conform to OFCopying
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 6ca5d172b9dfe11c1c9b21f54c62e2a79c5349bcf8903f95b73fad7087b2ed66
User & Date: js on 2018-01-21 03:02:58
Other Links: manifest | tags
Context
2018-01-21
03:12
OFValue: Add -[description] check-in: 854435fa91 user: js tags: trunk
03:02
OFValue: Conform to OFCopying check-in: 6ca5d172b9 user: js tags: trunk
02:20
Allow boxing of most structs check-in: 88b19eae2c user: js tags: trunk
Changes

Modified src/OFValue.h from [0cf113a505] to [be3d51a96b].

20
21
22
23
24
25
26
27

28
29
30
31
32
33
34
20
21
22
23
24
25
26

27
28
29
30
31
32
33
34







-
+







OF_ASSUME_NONNULL_BEGIN

/*!
 * @class OFValue OFValue.h ObjFW/OFValue.h
 *
 * @brief A class for storing arbitrary values in an object.
 */
@interface OFValue: OFObject
@interface OFValue: OFObject <OFCopying>
/*!
 * @brief The ObjC type encoding of the value.
 */
@property (readonly, nonatomic) const char *objCType;

/*!
 * @brief The value as a pointer to void.

Modified src/OFValue.m from [f9fd1f2d0c] to [939e955648].

160
161
162
163
164
165
166





167
168
169
170
171
172
173
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178







+
+
+
+
+







		OF_HASH_FINALIZE(hash);
	} @finally {
		free(buffer);
	}

	return hash;
}

- (id)copy
{
	return [self retain];
}

- (const char *)objCType
{
	OF_UNRECOGNIZED_SELECTOR
}

- (void)getValue: (void *)value