Skip to content

Commit c3663e2

Browse files
committed
Change AChoreographer_postFrameCallback64 to AChoreographer_postFrameCallback to support pre-API-29
1 parent 81e1166 commit c3663e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/AndroidChoreographer/AndroidChoreographer.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ public final class AndroidChoreographer : @unchecked Sendable {
3434
}
3535
}
3636

37-
public func postFrameCallback(_ callback: @convention(c)(Int64, UnsafeMutableRawPointer?) -> ()) {
38-
AChoreographer_postFrameCallback64(_choreographer, callback, nil)
37+
public func postFrameCallback(_ callback: @convention(c)(Int, UnsafeMutableRawPointer?) -> ()) {
38+
AChoreographer_postFrameCallback(_choreographer, callback, nil)
3939
}
4040
}
4141

0 commit comments

Comments
 (0)