Skip to content

Commit d0deebd

Browse files
ref: Remove forward declarations for Envelope (#3732)
Having unused forward declarations in the SentryEnvelope.h doesn't make sense and makes it harder to expose that specific class to Swift. Therefore, we can remove them.
1 parent 7fe37ab commit d0deebd

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Sources/Sentry/include/HybridPublic/SentryEnvelope.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@
88

99
#endif
1010

11-
@class SentryEvent, SentrySession, SentryId, SentryUserFeedback, SentryAttachment,
12-
SentryTransaction, SentryClientReport, SentryEnvelopeItemHeader;
11+
@class SentryEvent;
12+
@class SentrySession;
13+
@class SentryId;
14+
@class SentryUserFeedback;
15+
@class SentryAttachment;
16+
@class SentryEnvelopeItemHeader;
1317

1418
NS_ASSUME_NONNULL_BEGIN
1519

Sources/Sentry/include/SentryEnvelope+Private.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
NS_ASSUME_NONNULL_BEGIN
44

5+
@class SentryClientReport;
6+
57
@interface
68
SentryEnvelopeItem ()
79

0 commit comments

Comments
 (0)