mirror of
https://github.com/darlinghq/darling-libobjc2.git
synced 2024-11-23 20:29:50 +00:00
13 lines
314 B
Objective-C
13 lines
314 B
Objective-C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include "objc/runtime.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(id obj)
|
|
{
|
|
fprintf(stderr, "Mutation occured during enumeration.");
|
|
abort();
|
|
}
|
|
|