You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CoreFoundation/Base.subproj/ForFoundationOnly.h
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,8 +27,11 @@
27
27
#include<CoreFoundation/CFNumberFormatter.h>
28
28
#include<CoreFoundation/CFBag.h>
29
29
#include<CoreFoundation/CFCalendar.h>
30
+
31
+
#if !TARGET_OS_WASI
30
32
#include<CoreFoundation/CFStreamPriv.h>
31
33
#include<CoreFoundation/CFRuntime.h>
34
+
#endif
32
35
#include<math.h>
33
36
#include<limits.h>
34
37
@@ -60,6 +63,7 @@ CF_IMPLICIT_BRIDGING_DISABLED
60
63
#include<objc/message.h>
61
64
#endif
62
65
66
+
#if__BLOCKS__
63
67
/* 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.)
64
68
65
69
The optional reallocationFailureHandler is called only when the reallocation fails (with the original buffer passed in, so you can clean up the buffer/throw/abort/etc.
0 commit comments