mirror of
https://github.com/darlinghq/darling-libobjc2.git
synced 2024-12-18 09:36:43 +00:00
12 lines
291 B
Objective-C
12 lines
291 B
Objective-C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
// This function is exported as a weak symbol to enable GNUstep or some other
|
|
// framework to replace it trivially
|
|
void __attribute__((weak)) objc_enumerationMutation(void *obj)
|
|
{
|
|
fprintf(stderr, "Mutation occured during enumeration.");
|
|
abort();
|
|
}
|
|
|