mirror of
https://github.com/signalapp/libsignal.git
synced 2026-05-10 09:02:05 +02:00
Add bridge_fn_void and use it for SessionRecord_ArchiveCurrentState
This also builds on the mutable borrow groundwork in the previous commit.
This commit is contained in:
@@ -210,7 +210,7 @@ public final class Native {
|
||||
public static native byte[] SessionCipher_DecryptSignalMessage(long message, long protocolAddress, SessionStore sessionStore, IdentityKeyStore identityKeyStore);
|
||||
public static native CiphertextMessage SessionCipher_EncryptMessage(byte[] message, long protocolAddress, SessionStore sessionStore, IdentityKeyStore identityKeyStore);
|
||||
|
||||
public static native void SessionRecord_ArchiveCurrentState(long handle);
|
||||
public static native void SessionRecord_ArchiveCurrentState(long sessionRecord);
|
||||
public static native long SessionRecord_Deserialize(byte[] data);
|
||||
public static native void SessionRecord_Destroy(long handle);
|
||||
public static native long SessionRecord_FromSingleSessionState(byte[] sessionState);
|
||||
|
||||
Reference in New Issue
Block a user