mirror of
https://github.com/signalapp/libsignal.git
synced 2026-05-09 08:33:13 +02:00
This required some changes to jni::ResultTypeInfo, because we no longer have tokens available for the JNI types of a bridged function to use with the jni_args! macro. Instead, we record signatures for each type that might appear as a callback argument and use const_str::concat to put them together. This does not currently attempt to autogenerate the Java interface on the other side of the bridge; given the way gen_java_decl builds on top of cbindgen, this is likely tricky but not impossible. Something to possibly add later.