@@ -28,11 +28,10 @@ #include #include #include #import "macros.h" -#import "autorelease.h" #import "block.h" /* * Some versions of MinGW require to be included before * . Do this here to make sure this is always done in the correct @@ -1275,10 +1274,14 @@ @end #ifdef __cplusplus extern "C" { #endif +#ifdef OF_APPLE_RUNTIME +extern void *_Null_unspecified objc_autoreleasePoolPush(void); +extern void objc_autoreleasePoolPop(void *_Null_unspecified pool); +#endif extern id of_alloc_object(Class class_, size_t extraSize, size_t extraAlignment, void *_Nullable *_Nullable extra); extern void OF_NO_RETURN_FUNC of_method_not_found(id self, SEL _cmd); extern uint32_t of_hash_seed; #ifdef __cplusplus