Skip to content

Commit 630b7ac

Browse files
committed
Rename renaming OG prefixes to AG and add Swift name refinements
1 parent 7ac7f5c commit 630b7ac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sources/OpenGraph_SPI/include/OGAttributeType.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ typedef struct OGAttributeVTable {
2121
CFStringRef _Nullable (*_Nullable self_description)(const OGAttributeType *, const void *);
2222
CFStringRef _Nullable (*_Nullable value_description)(const OGAttributeType *, const void *);
2323
void (*_Nullable update_default)(const OGAttributeType *, void *);
24-
} AGAttributeVTable;
24+
} OGAttributeVTable OG_SWIFT_NAME(_AttributeVTable);
2525

2626
typedef struct OGAttributeType {
2727
OGTypeID self_id;
2828
OGTypeID value_id;
2929
OGClosureStorage update;
30-
const AGAttributeVTable *vtable;
30+
const OGAttributeVTable *vtable;
3131
OGAttributeTypeFlags flags;
3232

3333
uint32_t internal_offset;

Sources/OpenGraph_SPI/include/OGWeakAttribute.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ typedef struct OGWeakAttribute {
1515
OGAttribute identifier;
1616
uint32_t seed;
1717
} _details;
18-
} OGWeakAttribute;
18+
} OGWeakAttribute OG_SWIFT_NAME(AnyWeakAttribute);
1919

2020
OG_EXTERN_C_BEGIN
2121

0 commit comments

Comments
 (0)