ObjFW  Check-in [9f2b639aef]

Overview
Comment:Get rid of the last /// comments
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9f2b639aef7a37b1b3399d7cfb32bf86019a4a6016fe831e1034efe206066e89
User & Date: js on 2017-09-26 00:09:28
Other Links: manifest | tags
Context
2017-09-26
21:53
Many nullability fixes check-in: 52011fbfd6 user: js tags: trunk
00:09
Get rid of the last /// comments check-in: 9f2b639aef user: js tags: trunk
00:02
Fix a few missing nullable check-in: 3da9426ea5 user: js tags: trunk
Changes

Modified src/OFEnumerator.h from [793c333b12] to [fe479ba326].

79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
 * @struct of_fast_enumeration_state_t OFEnumerator.h ObjFW/OFEnumerator.h
 *
 * @brief State information for fast enumerations.
 */
#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

/*!
 * @protocol OFFastEnumeration OFEnumerator.h ObjFW/OFEnumerator.h
 *







|

|

|

|







79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
 * @struct of_fast_enumeration_state_t OFEnumerator.h ObjFW/OFEnumerator.h
 *
 * @brief State information for fast enumerations.
 */
#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

/*!
 * @protocol OFFastEnumeration OFEnumerator.h ObjFW/OFEnumerator.h
 *

Modified src/OFMapTable.h from [d688a725dd] to [cdb36b51da].

23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

/*!
 * @struct of_map_table_functions_t OFMapTable.h ObjFW/OFMapTable.h
 *
 * @brief A struct describing the functions to be used by the map table.
 */
typedef struct {
	/// The function to retain keys / objects
	void *_Nonnull (*_Nullable retain)(void *object);
	/// The function to release keys / objects
	void (*_Nullable release)(void *object);
	/// The function to hash keys
	uint32_t (*_Nullable hash)(void *object);
	/// The function to compare keys / objects
	bool (*_Nullable equal)(void *object1, void *object2);
} of_map_table_functions_t;

#ifdef OF_HAVE_BLOCKS
/*!
 * @brief A block for enumerating an OFMapTable.
 *







|

|

|

|







23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

/*!
 * @struct of_map_table_functions_t OFMapTable.h ObjFW/OFMapTable.h
 *
 * @brief A struct describing the functions to be used by the map table.
 */
typedef struct {
	/*! The function to retain keys / objects */
	void *_Nonnull (*_Nullable retain)(void *object);
	/*! The function to release keys / objects */
	void (*_Nullable release)(void *object);
	/*! The function to hash keys */
	uint32_t (*_Nullable hash)(void *object);
	/*! The function to compare keys / objects */
	bool (*_Nullable equal)(void *object1, void *object2);
} of_map_table_functions_t;

#ifdef OF_HAVE_BLOCKS
/*!
 * @brief A block for enumerating an OFMapTable.
 *