ObjFW  Check-in [0428b0ecd2]

Overview
Comment:OFEnumerator: Remove const from itemsPtr

This made the Swift compiler complain.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0428b0ecd2e6732fb8b53c479a5fe7b5fd56b9de02c08e5a3f6092b74608e40d
User & Date: js on 2020-06-24 17:37:07
Other Links: manifest | tags
Context
2020-06-24
20:53
Fix missing cast check-in: ca3e874157 user: js tags: trunk
17:37
OFEnumerator: Remove const from itemsPtr check-in: 0428b0ecd2 user: js tags: trunk
17:17
ObjFW.h: Add missing imports check-in: 6f1f036339 user: js tags: trunk
Changes

Modified src/OFEnumerator.h from [c01e86ac8b] to [8acf2a6a5e].

50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
 */
#define of_fast_enumeration_state_t NSFastEnumerationState
#ifndef NSINTEGER_DEFINED
typedef struct {
	/*! Arbitrary state information for the enumeration */
	unsigned long state;
	/*! Pointer to a C array of objects to return */
	id const __unsafe_unretained _Nullable *_Nullable itemsPtr;
	/*! Arbitrary state information to detect mutations */
	unsigned long *_Nullable mutationsPtr;
	/*! Additional arbitrary state information */
	unsigned long extra[5];
} of_fast_enumeration_state_t;
#endif








|







50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
 */
#define of_fast_enumeration_state_t NSFastEnumerationState
#ifndef NSINTEGER_DEFINED
typedef struct {
	/*! Arbitrary state information for the enumeration */
	unsigned long state;
	/*! Pointer to a C array of objects to return */
	id __unsafe_unretained _Nullable *_Nullable itemsPtr;
	/*! Arbitrary state information to detect mutations */
	unsigned long *_Nullable mutationsPtr;
	/*! Additional arbitrary state information */
	unsigned long extra[5];
} of_fast_enumeration_state_t;
#endif