Skip to content

fix(RB): expose RBPathCallbacks.cgPath as pointer in Swift - #90

Merged
Kyle-Ye merged 1 commit into
mainfrom
feature/path_shape
Nov 21, 2026
Merged

Kyle-Ye merged 1 commit into
mainfrom
feature/path_shape

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Nov 21, 2026

Copy link
Copy Markdown
Member

Update RBPathCallbacks.h across RB/2024/Sources/Headers/ and all five RenderBox.xcframework slices (ios-arm64-arm64e, ios-arm64-x86_64-simulator, macos-arm64e-arm64-x86_64, xros-arm64-arm64e, and xros-arm64-x86_64-simulator):

  • Mark RBPathCGPathCallbacks with RB_REFINED_FOR_SWIFT to preserve the C global symbol while hiding by-value Swift import.
  • Add _RBPathCallbacksGetCGPath (RB_SWIFT_NAME(getter:RBPathCallbacks.cgPath())) returning const RBPathCallbacks * so RBPath.Callbacks.cgPath provides the static callback table pointer directly in Swift.

Refine RBPathCGPathCallbacks for Swift and provide an inline pointer getter mapped to RBPathCallbacks.cgPath across RBPathCallbacks.h and all five RenderBox.xcframework slices.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T19:02:11.345174Z 331b7ec PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Kyle-Ye
Kyle-Ye merged commit 211a9a3 into main Nov 21, 2026
5 checks passed
@Kyle-Ye
Kyle-Ye deleted the feature/path_shape branch November 21, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant