Skip to content

Commit 6f89f48

Browse files
author
github-actions
committed
Bump SDK version to 26.01.27 (matrix-rust-sdk to 731cb0b4262c912ae0b62ce0ddbeaa3d550764d6)
1 parent 9f472b6 commit 6f89f48

File tree

7 files changed

+1274
-1651
lines changed

7 files changed

+1274
-1651
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
object BuildVersionsSDK {
22
const val majorVersion = 26
33
const val minorVersion = 1
4-
const val patchVersion = 22
4+
const val patchVersion = 27
55
}

sdk/sdk-android/src/main/kotlin/org/matrix/rustcomponents/sdk/matrix_sdk_ffi.kt

Lines changed: 451 additions & 1635 deletions
Large diffs are not rendered by default.

sdk/sdk-android/src/main/kotlin/uniffi/matrix_sdk/matrix_sdk.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ open class RustBuffer : Structure() {
8181

8282
@Suppress("TooGenericExceptionThrown")
8383
fun asByteBuffer() =
84-
this.data?.getByteBuffer(0, this.len.toLong())?.also {
84+
this.data?.getByteBuffer(0, this.len)?.also {
8585
it.order(ByteOrder.BIG_ENDIAN)
8686
}
8787
}
@@ -640,7 +640,7 @@ internal object IntegrityCheckingUniffiLib {
640640
): Short
641641
external fun ffi_matrix_sdk_uniffi_contract_version(
642642
): Int
643-
643+
644644

645645
}
646646

@@ -766,7 +766,7 @@ internal object UniffiLib {
766766
): Unit
767767
external fun ffi_matrix_sdk_rust_future_complete_void(`handle`: Long,uniffi_out_err: UniffiRustCallStatus,
768768
): Unit
769-
769+
770770

771771
}
772772

sdk/sdk-android/src/main/kotlin/uniffi/matrix_sdk_base/matrix_sdk_base.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ open class RustBuffer : Structure() {
8080

8181
@Suppress("TooGenericExceptionThrown")
8282
fun asByteBuffer() =
83-
this.data?.getByteBuffer(0, this.len.toLong())?.also {
83+
this.data?.getByteBuffer(0, this.len)?.also {
8484
it.order(ByteOrder.BIG_ENDIAN)
8585
}
8686
}
@@ -637,7 +637,7 @@ internal object IntegrityCheckingUniffiLib {
637637
}
638638
external fun ffi_matrix_sdk_base_uniffi_contract_version(
639639
): Int
640-
640+
641641

642642
}
643643

@@ -752,7 +752,7 @@ internal object UniffiLib {
752752
): Unit
753753
external fun ffi_matrix_sdk_base_rust_future_complete_void(`handle`: Long,uniffi_out_err: UniffiRustCallStatus,
754754
): Unit
755-
755+
756756

757757
}
758758

sdk/sdk-android/src/main/kotlin/uniffi/matrix_sdk_common/matrix_sdk_common.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ open class RustBuffer : Structure() {
8080

8181
@Suppress("TooGenericExceptionThrown")
8282
fun asByteBuffer() =
83-
this.data?.getByteBuffer(0, this.len.toLong())?.also {
83+
this.data?.getByteBuffer(0, this.len)?.also {
8484
it.order(ByteOrder.BIG_ENDIAN)
8585
}
8686
}
@@ -637,7 +637,7 @@ internal object IntegrityCheckingUniffiLib {
637637
}
638638
external fun ffi_matrix_sdk_common_uniffi_contract_version(
639639
): Int
640-
640+
641641

642642
}
643643

@@ -752,7 +752,7 @@ internal object UniffiLib {
752752
): Unit
753753
external fun ffi_matrix_sdk_common_rust_future_complete_void(`handle`: Long,uniffi_out_err: UniffiRustCallStatus,
754754
): Unit
755-
755+
756756

757757
}
758758

0 commit comments

Comments
 (0)