Skip to content

Commit a803eda

Browse files
authored
Merge pull request #2595 from 3405691582/ForFoundationOnly_ShouldDefineDeclareStaticClassRef
[CF] Define DECLARE_STATIC_CLASS_REF macro.
2 parents 86eec61 + ea46f94 commit a803eda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CoreFoundation/Base.subproj/ForFoundationOnly.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,7 @@ CF_EXPORT void *_CFCreateArrayStorage(size_t numPointers, Boolean zeroed, size_t
691691

692692
// We don't need static class refs if CF is used standalone, as there's no Swift or ObjC runtime to interoperate with.
693693
#define STATIC_CLASS_REF(...) NULL
694+
#define DECLARE_STATIC_CLASS_REF(...)
694695

695696
#endif
696697

0 commit comments

Comments
 (0)