diff --git a/Sources/CoreFoundation/include/ForFoundationOnly.h b/Sources/CoreFoundation/include/ForFoundationOnly.h index 533f22f50a..aef916621d 100644 --- a/Sources/CoreFoundation/include/ForFoundationOnly.h +++ b/Sources/CoreFoundation/include/ForFoundationOnly.h @@ -57,6 +57,8 @@ CF_IMPLICIT_BRIDGING_DISABLED #include #endif +_CF_EXPORT_SCOPE_BEGIN + #if __BLOCKS__ /* These functions implement standard error handling for reallocation. Their parameters match their unsafe variants (realloc/CFAllocatorReallocate). They differ from reallocf as they provide a chance for you to clean up a buffers contents (in addition to freeing the buffer, etc.) @@ -69,10 +71,13 @@ CF_EXPORT void *_Nonnull __CFSafelyReallocateWithAllocator(CFAllocatorRef _Nulla #endif Boolean __CFAllocatorRespectsHintZeroWhenAllocating(CFAllocatorRef _Nullable allocator); + typedef CF_ENUM(CFOptionFlags, _CFAllocatorHint) { _CFAllocatorHintZeroWhenAllocating = 1 }; +_CF_EXPORT_SCOPE_END + #define NSISARGTYPE void * _Nullable #pragma mark - CFBundle