ObjFW  Check-in [e58bcdedb5]

Overview
Comment:Add missing abort to uncaught_exception_handler.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e58bcdedb5cf66635671f8898742e8a4f2177d0a025efeb8085aaeea2dd1c17b
User & Date: js on 2012-09-11 14:20:25
Other Links: manifest | tags
Context
2012-09-11
16:48
Add OFTimer and OFRunLoop. check-in: a4494ec477 user: js tags: trunk
14:20
Add missing abort to uncaught_exception_handler. check-in: e58bcdedb5 user: js tags: trunk
13:41
The ivar "object" of OFThread should be protected. check-in: 1dc2f0b15f user: js tags: trunk
Changes

Modified src/OFObject.m from [2f8b3fda71] to [9817511d97].

92
93
94
95
96
97
98

99
100
101
102
103
104
105

#if !defined(OF_APPLE_RUNTIME) || defined(__OBJC2__)
static void
uncaught_exception_handler(id exception)
{
	fprintf(stderr, "\nRuntime error: Unhandled exception:\n%s\n",
	    [[exception description] UTF8String]);

}
#endif

static void
enumeration_mutation_handler(id object)
{
	@throw [OFEnumerationMutationException







>







92
93
94
95
96
97
98
99
100
101
102
103
104
105
106

#if !defined(OF_APPLE_RUNTIME) || defined(__OBJC2__)
static void
uncaught_exception_handler(id exception)
{
	fprintf(stderr, "\nRuntime error: Unhandled exception:\n%s\n",
	    [[exception description] UTF8String]);
	abort();
}
#endif

static void
enumeration_mutation_handler(id object)
{
	@throw [OFEnumerationMutationException