ObjFW  Diff

Differences From Artifact [7eff738717]:

  • File src/OFObject.m — part of check-in [9713ad857d] at 2013-07-26 15:21:45 on branch trunk — Add support for objc_msg_lookup_stret.

    The assembly implementations of the lookup and forwarding still need to
    be adjusted. Those just alias to the non-stret version for now so that
    linking works, meaning the behaviour is still the same as without
    support for objc_msg_lookup_stret for now. (user: js, size: 25727) [annotate] [blame] [check-ins using]

To Artifact [1d6bb87b12]:


279
280
281
282
283
284
285
286

287
288
289
290
291
292
293
#if !defined(OF_APPLE_RUNTIME) || defined(__OBJC2__)
	objc_setUncaughtExceptionHandler(uncaught_exception_handler);
#endif

#if defined(OF_OBJFW_RUNTIME)
	objc_forward_handler = forward_handler;
	objc_forward_handler_stret = forward_handler_stret;
#elif defined(OF_APPLE_RUNTIME) && defined(HAVE_FORWARDING_TARGET_FOR_SELECTOR)

	objc_setForwardHandler(of_forward, of_forward_stret);
#endif

#ifdef HAVE_OBJC_ENUMERATIONMUTATION
	objc_setEnumerationMutationHandler(enumeration_mutation_handler);
#endif








|
>







279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
#if !defined(OF_APPLE_RUNTIME) || defined(__OBJC2__)
	objc_setUncaughtExceptionHandler(uncaught_exception_handler);
#endif

#if defined(OF_OBJFW_RUNTIME)
	objc_forward_handler = forward_handler;
	objc_forward_handler_stret = forward_handler_stret;
#elif defined(OF_APPLE_RUNTIME) && \
    defined(OF_HAVE_FORWARDING_TARGET_FOR_SELECTOR)
	objc_setForwardHandler(of_forward, of_forward_stret);
#endif

#ifdef HAVE_OBJC_ENUMERATIONMUTATION
	objc_setEnumerationMutationHandler(enumeration_mutation_handler);
#endif