Skip to content

Commit d6517ca

Browse files
committed
Update AG_COUNTED_BY
1 parent 0528edb commit d6517ca

File tree

7 files changed

+42
-0
lines changed
  • AG
    • 2021/AttributeGraph.xcframework
      • ios-arm64-arm64e/AttributeGraph.framework/Headers
      • ios-arm64-x86_64-simulator/AttributeGraph.framework/Headers
      • macos-arm64e-arm64-x86_64/AttributeGraph.framework/Headers
    • 2024
      • AttributeGraph.xcframework
        • ios-arm64-arm64e/AttributeGraph.framework/Headers
        • ios-arm64-x86_64-simulator/AttributeGraph.framework/Headers
        • macos-arm64e-arm64-x86_64/AttributeGraph.framework/Headers
      • Sources/Headers

7 files changed

+42
-0
lines changed

AG/2021/AttributeGraph.xcframework/ios-arm64-arm64e/AttributeGraph.framework/Headers/AGBase.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@
4343
#define AG_CONSTEXPR
4444
#endif
4545

46+
#if __has_attribute(__counted_by__)
47+
#define AG_COUNTED_BY(N) __attribute__((__counted_by__(N)))
48+
#else
49+
#define AG_COUNTED_BY(N)
50+
#endif
51+
4652
#define AG_COUNTED_BY(N) __counted_by(N)
4753

4854
#include <CoreFoundation/CoreFoundation.h>

AG/2021/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Headers/AGBase.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@
4343
#define AG_CONSTEXPR
4444
#endif
4545

46+
#if __has_attribute(__counted_by__)
47+
#define AG_COUNTED_BY(N) __attribute__((__counted_by__(N)))
48+
#else
49+
#define AG_COUNTED_BY(N)
50+
#endif
51+
4652
#define AG_COUNTED_BY(N) __counted_by(N)
4753

4854
#include <CoreFoundation/CoreFoundation.h>

AG/2021/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Headers/AGBase.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@
4343
#define AG_CONSTEXPR
4444
#endif
4545

46+
#if __has_attribute(__counted_by__)
47+
#define AG_COUNTED_BY(N) __attribute__((__counted_by__(N)))
48+
#else
49+
#define AG_COUNTED_BY(N)
50+
#endif
51+
4652
#define AG_COUNTED_BY(N) __counted_by(N)
4753

4854
#include <CoreFoundation/CoreFoundation.h>

AG/2024/AttributeGraph.xcframework/ios-arm64-arm64e/AttributeGraph.framework/Headers/AGBase.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@
4343
#define AG_CONSTEXPR
4444
#endif
4545

46+
#if __has_attribute(__counted_by__)
47+
#define AG_COUNTED_BY(N) __attribute__((__counted_by__(N)))
48+
#else
49+
#define AG_COUNTED_BY(N)
50+
#endif
51+
4652
#define AG_COUNTED_BY(N) __counted_by(N)
4753

4854
#include <CoreFoundation/CoreFoundation.h>

AG/2024/AttributeGraph.xcframework/ios-arm64-x86_64-simulator/AttributeGraph.framework/Headers/AGBase.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@
4343
#define AG_CONSTEXPR
4444
#endif
4545

46+
#if __has_attribute(__counted_by__)
47+
#define AG_COUNTED_BY(N) __attribute__((__counted_by__(N)))
48+
#else
49+
#define AG_COUNTED_BY(N)
50+
#endif
51+
4652
#define AG_COUNTED_BY(N) __counted_by(N)
4753

4854
#include <CoreFoundation/CoreFoundation.h>

AG/2024/AttributeGraph.xcframework/macos-arm64e-arm64-x86_64/AttributeGraph.framework/Headers/AGBase.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@
4343
#define AG_CONSTEXPR
4444
#endif
4545

46+
#if __has_attribute(__counted_by__)
47+
#define AG_COUNTED_BY(N) __attribute__((__counted_by__(N)))
48+
#else
49+
#define AG_COUNTED_BY(N)
50+
#endif
51+
4652
#define AG_COUNTED_BY(N) __counted_by(N)
4753

4854
#include <CoreFoundation/CoreFoundation.h>

AG/2024/Sources/Headers/AGBase.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@
4343
#define AG_CONSTEXPR
4444
#endif
4545

46+
#if __has_attribute(__counted_by__)
47+
#define AG_COUNTED_BY(N) __attribute__((__counted_by__(N)))
48+
#else
49+
#define AG_COUNTED_BY(N)
50+
#endif
51+
4652
#define AG_COUNTED_BY(N) __counted_by(N)
4753

4854
#include <CoreFoundation/CoreFoundation.h>

0 commit comments

Comments
 (0)