You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
jextract/jni: Support Foundation value types in protocol callbacks #943
JNI protocol callbacks reject Foundation value types even though the Java-facing method signatures already support them. As a result, a Swift protocol accepting or returning Data, Date, URL, or UUID cannot be implemented as an ordinary Java callback.
The callback bridge would need to convert the Swift argument into a Java UUID and the Java result back into Swift. Data, Date, and URL could use their existing generated wrapper classes.
Activity