Skip to content

Commit 2bc51e1

Browse files
committed
Fix ORBPathStorageApplyElements issue
1 parent 9000acb commit 2bc51e1

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

Sources/OpenRenderBox/Path/ORBPathStorage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ void ORBPathStorageAppendPath(ORBPathStorageRef storage, ORBPath path) {
3232
precondition_failure("TODO");
3333
}
3434

35-
void ORBPathStorageApplyElements(ORBPathStorageRef, void *info, ORBPathApplyCallback callback) {
35+
bool ORBPathStorageApplyElements(ORBPathStorageRef, void *info, ORBPathApplyCallback callback) {
3636
precondition_failure("TODO");
3737
}
3838

Sources/OpenRenderBox/include/OpenRenderBox/ORBPathCallbacks.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
#include <OpenRenderBox/ORBBase.h>
1111
#include <OpenRenderBox/ORBPath.h>
12-
#include <CoreFoundation/CoreFoundation.h>
1312
#if ORB_TARGET_OS_DARWIN
1413
#include <CoreGraphics/CoreGraphics.h>
1514
#endif

Sources/OpenRenderBox/include/OpenRenderBox/ORBPathStorage.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ void ORBPathStorageAppendPath(ORBPathStorageRef, ORBPath) ORB_SWIFT_NAME(ORBPath
3939

4040
ORB_EXPORT
4141
ORB_REFINED_FOR_SWIFT
42-
void ORBPathStorageApplyElements(ORBPathStorageRef, void *info, ORBPathApplyCallback _Nullable callback) ORB_SWIFT_NAME(ORBPathStorageRef.apply(self:info:callback:));
42+
bool ORBPathStorageApplyElements(ORBPathStorageRef, void *info, ORBPathApplyCallback _Nullable callback) ORB_SWIFT_NAME(ORBPathStorageRef.apply(self:info:callback:));
4343

4444
ORB_EXPORT
4545
ORB_REFINED_FOR_SWIFT

0 commit comments

Comments
 (0)