Skip to content

Commit 97fb75d

Browse files
committed
Underscore private types
1 parent 495ff2c commit 97fb75d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sources/OpenGraphCxx/include/OpenGraph/OGAttributeType.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ typedef struct OGAttributeVTable {
2323
void (*_Nullable update_default)(const OGAttributeType *, void *);
2424
} OGAttributeVTable OG_SWIFT_NAME(_AttributeVTable);
2525

26-
typedef struct OG_SWIFT_NAME(AttributeType) OGAttributeType {
26+
typedef struct OGAttributeType {
2727
OGTypeID self_id;
2828
OGTypeID value_id;
2929
OGClosureStorage update;
@@ -37,7 +37,7 @@ typedef struct OG_SWIFT_NAME(AttributeType) OGAttributeType {
3737
OGTypeID type_id;
3838
const void *witness_table;
3939
} body_conformance;
40-
} OGAttributeType;
40+
} OGAttributeType OG_SWIFT_NAME(_AttributeType);
4141

4242
OG_ASSUME_NONNULL_END
4343

Sources/OpenGraphCxx/include/OpenGraph/OGClosure.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ OG_EXTERN_C_BEGIN
1414
typedef struct OGClosureStorage {
1515
const void *thunk;
1616
const void *_Nullable context;
17-
} OGClosureStorage;
17+
} OGClosureStorage CF_SWIFT_NAME(_OGClosureStorage);
1818

1919
OG_EXPORT
2020
OG_REFINED_FOR_SWIFT

0 commit comments

Comments
 (0)