ObjFW  Check-in [019a294022]

Overview
Comment:Add missing void in parameter list
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 019a294022359accd605cc7b0e65c65d2e5715b853ab5f6f7452dde29627169b
User & Date: js on 2017-07-01 19:45:33
Other Links: manifest | tags
Context
2017-07-01
19:49
Update Xcode project to Xcode 9 check-in: 21b69ce7a7 user: js tags: trunk
19:45
Add missing void in parameter list check-in: 019a294022 user: js tags: trunk
19:43
instance.m: Allow nil for objc_destructInstance() check-in: c3ec9bb65a user: js tags: trunk
Changes

Modified src/autorelease.h from [208b8e102b] to [760b0ce5f1].

24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
extern "C" {
#endif
/*!
 * @brief Creates a new autorelease pool.
 *
 * @return An identifier for the created autorelease pool
 */
extern void *objc_autoreleasePoolPush();

/*!
 * @brief Drains an autorelease pool.
 *
 * @param pool An identifier for the pool to drain
 */
extern void objc_autoreleasePoolPop(void *pool);







|







24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
extern "C" {
#endif
/*!
 * @brief Creates a new autorelease pool.
 *
 * @return An identifier for the created autorelease pool
 */
extern void *objc_autoreleasePoolPush(void);

/*!
 * @brief Drains an autorelease pool.
 *
 * @param pool An identifier for the pool to drain
 */
extern void objc_autoreleasePoolPop(void *pool);

Modified tests/OFBlockTests.m from [db3b9ec4b8] to [f49253f9ac].

30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

static OFString *module = @"OFBlock";

extern void *_NSConcreteStackBlock;
extern void *_NSConcreteGlobalBlock;
extern void *_NSConcreteMallocBlock;

static void (^g)() = ^ {};

static int
(^returnStackBlock(void))(void)
{
	__block int i = 42;

	return Block_copy(^ int { return ++i; });







|







30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

static OFString *module = @"OFBlock";

extern void *_NSConcreteStackBlock;
extern void *_NSConcreteGlobalBlock;
extern void *_NSConcreteMallocBlock;

static void (^g)(void) = ^ {};

static int
(^returnStackBlock(void))(void)
{
	__block int i = 42;

	return Block_copy(^ int { return ++i; });