We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6180036 commit cf7d127Copy full SHA for cf7d127
mutation.m
@@ -1,9 +1,10 @@
1
#include <stdio.h>
2
#include <stdlib.h>
3
+#include "objc/runtime.h"
4
5
// This function is exported as a weak symbol to enable GNUstep or some other
6
// framework to replace it trivially
-void __attribute__((weak)) objc_enumerationMutation(void *obj)
7
+void __attribute__((weak)) objc_enumerationMutation(id obj)
8
{
9
fprintf(stderr, "Mutation occured during enumeration.");
10
abort();
0 commit comments