ObjFW  Check-in [1070063543]

Overview
Comment:runtime/arc.m: Call -[copy] on block

This removes the reference to _Block_copy, which is not part of the
runtime.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 10700635434c0b2f7e2074e93b6a362618eb33c54d14d891c21a5eee173bfbe7
User & Date: js on 2017-06-11 11:12:42
Other Links: manifest | tags
Context
2017-06-11
12:50
Xcode project: Separate configure target for iOS check-in: a730c8752f user: js tags: trunk
11:12
runtime/arc.m: Call -[copy] on block check-in: 1070063543 user: js tags: trunk
03:01
OFFileManager: Use native AmigaDOS APIs on MorphOS check-in: 769145b2a9 user: js tags: trunk
Changes

Modified src/runtime/arc.m from [a8a136e91e] to [04f2c4d0f6].

63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
	return [object retain];
}

id
objc_retainBlock(id block)
{
	return (id)_Block_copy(block);
}

id
objc_retainAutorelease(id object)
{
	return [[object retain] autorelease];
}







|







63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
	return [object retain];
}

id
objc_retainBlock(id block)
{
	return [block copy];
}

id
objc_retainAutorelease(id object)
{
	return [[object retain] autorelease];
}