ObjFW  Diff

Differences From Artifact [c235fc1cd0]:

To Artifact [938c4e7c92]:


31
32
33
34
35
36
37
38

39
40
41
	if (enumeration_mutation_handler != NULL)
		enumeration_mutation_handler(obj);
	else
		OBJC_ERROR("Object was mutated during enumeration!");
}

void
objc_setEnumerationMutationHandler(void (*handler)(id))

{
	enumeration_mutation_handler = handler;
}







|
>



31
32
33
34
35
36
37
38
39
40
41
42
	if (enumeration_mutation_handler != NULL)
		enumeration_mutation_handler(obj);
	else
		OBJC_ERROR("Object was mutated during enumeration!");
}

void
objc_setEnumerationMutationHandler(
    objc_enumeration_mutation_handler handler OBJC_M68K_REG("a0"))
{
	enumeration_mutation_handler = handler;
}