Skip to content

Commit

Permalink
Bump SDK version to 0.2.66 (matrix-rust-sdk to 802393ad4a2a87e3dc0ae0…
Browse files Browse the repository at this point in the history
…92ff913a5c4c0d90da)
  • Loading branch information
github-actions committed Nov 27, 2024
1 parent 81b2d82 commit 9abf629
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 57 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/BuildVersionsSDK.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
object BuildVersionsSDK {
const val majorVersion = 0
const val minorVersion = 2
const val patchVersion = 65
const val patchVersion = 66
}
Original file line number Diff line number Diff line change
Expand Up @@ -2165,10 +2165,6 @@ internal open class UniffiVTableCallbackInterfaceWidgetCapabilitiesProvider(










Expand Down Expand Up @@ -2219,16 +2215,6 @@ internal interface UniffiLib : Library {
}
}

fun uniffi_matrix_sdk_ffi_fn_clone_mediasource(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
): Pointer
fun uniffi_matrix_sdk_ffi_fn_free_mediasource(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
): Unit
fun uniffi_matrix_sdk_ffi_fn_constructor_mediasource_from_json(`json`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
): Pointer
fun uniffi_matrix_sdk_ffi_fn_method_mediasource_to_json(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
): RustBuffer.ByValue
fun uniffi_matrix_sdk_ffi_fn_method_mediasource_url(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
): RustBuffer.ByValue
fun uniffi_matrix_sdk_ffi_fn_clone_roommessageeventcontentwithoutrelation(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
): Pointer
fun uniffi_matrix_sdk_ffi_fn_free_roommessageeventcontentwithoutrelation(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
Expand Down Expand Up @@ -2521,6 +2507,12 @@ internal interface UniffiLib : Library {
): RustBuffer.ByValue
fun uniffi_matrix_sdk_ffi_fn_method_mediafilehandle_persist(`ptr`: Pointer,`path`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
): Byte
fun uniffi_matrix_sdk_ffi_fn_clone_mediasource(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
): Pointer
fun uniffi_matrix_sdk_ffi_fn_free_mediasource(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
): Unit
fun uniffi_matrix_sdk_ffi_fn_method_mediasource_url(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
): RustBuffer.ByValue
fun uniffi_matrix_sdk_ffi_fn_clone_notificationclient(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
): Pointer
fun uniffi_matrix_sdk_ffi_fn_free_notificationclient(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
Expand Down Expand Up @@ -3347,10 +3339,6 @@ internal interface UniffiLib : Library {
): Short
fun uniffi_matrix_sdk_ffi_checksum_func_suggested_role_for_power_level(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_mediasource_to_json(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_mediasource_url(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_roommessageeventcontentwithoutrelation_with_mentions(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_client_abort_oidc_auth(
Expand Down Expand Up @@ -3605,6 +3593,8 @@ internal interface UniffiLib : Library {
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_mediafilehandle_persist(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_mediasource_url(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_notificationclient_get_notification(
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_notificationsettings_can_homeserver_push_encrypted_event_to_device(
Expand Down Expand Up @@ -4041,8 +4031,6 @@ internal interface UniffiLib : Library {
): Short
fun uniffi_matrix_sdk_ffi_checksum_method_widgetdriverhandle_send(
): Short
fun uniffi_matrix_sdk_ffi_checksum_constructor_mediasource_from_json(
): Short
fun uniffi_matrix_sdk_ffi_checksum_constructor_clientbuilder_new(
): Short
fun uniffi_matrix_sdk_ffi_checksum_constructor_qrcodedata_from_bytes(
Expand Down Expand Up @@ -4212,12 +4200,6 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
if (lib.uniffi_matrix_sdk_ffi_checksum_func_suggested_role_for_power_level() != 48532.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_matrix_sdk_ffi_checksum_method_mediasource_to_json() != 2998.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_matrix_sdk_ffi_checksum_method_mediasource_url() != 34026.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_matrix_sdk_ffi_checksum_method_roommessageeventcontentwithoutrelation_with_mentions() != 8867.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
Expand Down Expand Up @@ -4599,6 +4581,9 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
if (lib.uniffi_matrix_sdk_ffi_checksum_method_mediafilehandle_persist() != 12883.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_matrix_sdk_ffi_checksum_method_mediasource_url() != 62692.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_matrix_sdk_ffi_checksum_method_notificationclient_get_notification() != 2524.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
Expand Down Expand Up @@ -5253,9 +5238,6 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
if (lib.uniffi_matrix_sdk_ffi_checksum_method_widgetdriverhandle_send() != 18689.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_matrix_sdk_ffi_checksum_constructor_mediasource_from_json() != 29216.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_matrix_sdk_ffi_checksum_constructor_clientbuilder_new() != 27991.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
Expand Down Expand Up @@ -10688,8 +10670,6 @@ public object FfiConverterTypeMediaFileHandle: FfiConverter<MediaFileHandle, Poi

public interface MediaSourceInterface {

fun `toJson`(): kotlin.String

fun `url`(): kotlin.String

companion object
Expand Down Expand Up @@ -10776,18 +10756,6 @@ open class MediaSource: Disposable, AutoCloseable, MediaSourceInterface {
}
}

override fun `toJson`(): kotlin.String {
return FfiConverterString.lift(
callWithPointer {
uniffiRustCall() { _status ->
UniffiLib.INSTANCE.uniffi_matrix_sdk_ffi_fn_method_mediasource_to_json(
it, _status)
}
}
)
}


override fun `url`(): kotlin.String {
return FfiConverterString.lift(
callWithPointer {
Expand All @@ -10803,20 +10771,8 @@ open class MediaSource: Disposable, AutoCloseable, MediaSourceInterface {



companion object {

@Throws(ClientException::class) fun `fromJson`(`json`: kotlin.String): MediaSource {
return FfiConverterTypeMediaSource.lift(
uniffiRustCallWithError(ClientException) { _status ->
UniffiLib.INSTANCE.uniffi_matrix_sdk_ffi_fn_constructor_mediasource_from_json(
FfiConverterString.lower(`json`),_status)
}
)
}



}
companion object

}

Expand Down

0 comments on commit 9abf629

Please sign in to comment.