Skip to content

Commit

Permalink
Bump SDK version to 0.1.70 (matrix-rust-sdk to d4ed0dd683f789c38a8204…
Browse files Browse the repository at this point in the history
…c275940fce87bb685e)
  • Loading branch information
SpiritCroc committed Dec 30, 2023
1 parent 0dac93a commit a7956b2
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
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 = 1
const val patchVersion = 69
const val patchVersion = 70
}
Original file line number Diff line number Diff line change
Expand Up @@ -10037,6 +10037,8 @@ public object FfiConverterTypeAudioInfo: FfiConverterRustBuffer<AudioInfo> {

data class AudioMessageContent (
var `body`: String,
var `formatted`: FormattedBody?,
var `filename`: String?,
var `source`: MediaSource,
var `info`: AudioInfo?,
var `audio`: UnstableAudioDetailsContent?,
Expand All @@ -10048,6 +10050,8 @@ data class AudioMessageContent (

Disposable.destroy(
this.`body`,
this.`formatted`,
this.`filename`,
this.`source`,
this.`info`,
this.`audio`,
Expand All @@ -10061,6 +10065,8 @@ public object FfiConverterTypeAudioMessageContent: FfiConverterRustBuffer<AudioM
override fun read(buf: ByteBuffer): AudioMessageContent {
return AudioMessageContent(
FfiConverterString.read(buf),
FfiConverterOptionalTypeFormattedBody.read(buf),
FfiConverterOptionalString.read(buf),
FfiConverterTypeMediaSource.read(buf),
FfiConverterOptionalTypeAudioInfo.read(buf),
FfiConverterOptionalTypeUnstableAudioDetailsContent.read(buf),
Expand All @@ -10070,6 +10076,8 @@ public object FfiConverterTypeAudioMessageContent: FfiConverterRustBuffer<AudioM

override fun allocationSize(value: AudioMessageContent) = (
FfiConverterString.allocationSize(value.`body`) +
FfiConverterOptionalTypeFormattedBody.allocationSize(value.`formatted`) +
FfiConverterOptionalString.allocationSize(value.`filename`) +
FfiConverterTypeMediaSource.allocationSize(value.`source`) +
FfiConverterOptionalTypeAudioInfo.allocationSize(value.`info`) +
FfiConverterOptionalTypeUnstableAudioDetailsContent.allocationSize(value.`audio`) +
Expand All @@ -10078,6 +10086,8 @@ public object FfiConverterTypeAudioMessageContent: FfiConverterRustBuffer<AudioM

override fun write(value: AudioMessageContent, buf: ByteBuffer) {
FfiConverterString.write(value.`body`, buf)
FfiConverterOptionalTypeFormattedBody.write(value.`formatted`, buf)
FfiConverterOptionalString.write(value.`filename`, buf)
FfiConverterTypeMediaSource.write(value.`source`, buf)
FfiConverterOptionalTypeAudioInfo.write(value.`info`, buf)
FfiConverterOptionalTypeUnstableAudioDetailsContent.write(value.`audio`, buf)
Expand Down Expand Up @@ -10288,6 +10298,7 @@ public object FfiConverterTypeFileInfo: FfiConverterRustBuffer<FileInfo> {

data class FileMessageContent (
var `body`: String,
var `formatted`: FormattedBody?,
var `filename`: String?,
var `source`: MediaSource,
var `info`: FileInfo?
Expand All @@ -10298,6 +10309,7 @@ data class FileMessageContent (

Disposable.destroy(
this.`body`,
this.`formatted`,
this.`filename`,
this.`source`,
this.`info`)
Expand All @@ -10310,6 +10322,7 @@ public object FfiConverterTypeFileMessageContent: FfiConverterRustBuffer<FileMes
override fun read(buf: ByteBuffer): FileMessageContent {
return FileMessageContent(
FfiConverterString.read(buf),
FfiConverterOptionalTypeFormattedBody.read(buf),
FfiConverterOptionalString.read(buf),
FfiConverterTypeMediaSource.read(buf),
FfiConverterOptionalTypeFileInfo.read(buf),
Expand All @@ -10318,13 +10331,15 @@ public object FfiConverterTypeFileMessageContent: FfiConverterRustBuffer<FileMes

override fun allocationSize(value: FileMessageContent) = (
FfiConverterString.allocationSize(value.`body`) +
FfiConverterOptionalTypeFormattedBody.allocationSize(value.`formatted`) +
FfiConverterOptionalString.allocationSize(value.`filename`) +
FfiConverterTypeMediaSource.allocationSize(value.`source`) +
FfiConverterOptionalTypeFileInfo.allocationSize(value.`info`)
)

override fun write(value: FileMessageContent, buf: ByteBuffer) {
FfiConverterString.write(value.`body`, buf)
FfiConverterOptionalTypeFormattedBody.write(value.`formatted`, buf)
FfiConverterOptionalString.write(value.`filename`, buf)
FfiConverterTypeMediaSource.write(value.`source`, buf)
FfiConverterOptionalTypeFileInfo.write(value.`info`, buf)
Expand Down Expand Up @@ -10459,6 +10474,8 @@ public object FfiConverterTypeImageInfo: FfiConverterRustBuffer<ImageInfo> {

data class ImageMessageContent (
var `body`: String,
var `formatted`: FormattedBody?,
var `filename`: String?,
var `source`: MediaSource,
var `info`: ImageInfo?
) : Disposable {
Expand All @@ -10468,6 +10485,8 @@ data class ImageMessageContent (

Disposable.destroy(
this.`body`,
this.`formatted`,
this.`filename`,
this.`source`,
this.`info`)
}
Expand All @@ -10479,19 +10498,25 @@ public object FfiConverterTypeImageMessageContent: FfiConverterRustBuffer<ImageM
override fun read(buf: ByteBuffer): ImageMessageContent {
return ImageMessageContent(
FfiConverterString.read(buf),
FfiConverterOptionalTypeFormattedBody.read(buf),
FfiConverterOptionalString.read(buf),
FfiConverterTypeMediaSource.read(buf),
FfiConverterOptionalTypeImageInfo.read(buf),
)
}

override fun allocationSize(value: ImageMessageContent) = (
FfiConverterString.allocationSize(value.`body`) +
FfiConverterOptionalTypeFormattedBody.allocationSize(value.`formatted`) +
FfiConverterOptionalString.allocationSize(value.`filename`) +
FfiConverterTypeMediaSource.allocationSize(value.`source`) +
FfiConverterOptionalTypeImageInfo.allocationSize(value.`info`)
)

override fun write(value: ImageMessageContent, buf: ByteBuffer) {
FfiConverterString.write(value.`body`, buf)
FfiConverterOptionalTypeFormattedBody.write(value.`formatted`, buf)
FfiConverterOptionalString.write(value.`filename`, buf)
FfiConverterTypeMediaSource.write(value.`source`, buf)
FfiConverterOptionalTypeImageInfo.write(value.`info`, buf)
}
Expand Down Expand Up @@ -11954,6 +11979,8 @@ public object FfiConverterTypeVideoInfo: FfiConverterRustBuffer<VideoInfo> {

data class VideoMessageContent (
var `body`: String,
var `formatted`: FormattedBody?,
var `filename`: String?,
var `source`: MediaSource,
var `info`: VideoInfo?
) : Disposable {
Expand All @@ -11963,6 +11990,8 @@ data class VideoMessageContent (

Disposable.destroy(
this.`body`,
this.`formatted`,
this.`filename`,
this.`source`,
this.`info`)
}
Expand All @@ -11974,19 +12003,25 @@ public object FfiConverterTypeVideoMessageContent: FfiConverterRustBuffer<VideoM
override fun read(buf: ByteBuffer): VideoMessageContent {
return VideoMessageContent(
FfiConverterString.read(buf),
FfiConverterOptionalTypeFormattedBody.read(buf),
FfiConverterOptionalString.read(buf),
FfiConverterTypeMediaSource.read(buf),
FfiConverterOptionalTypeVideoInfo.read(buf),
)
}

override fun allocationSize(value: VideoMessageContent) = (
FfiConverterString.allocationSize(value.`body`) +
FfiConverterOptionalTypeFormattedBody.allocationSize(value.`formatted`) +
FfiConverterOptionalString.allocationSize(value.`filename`) +
FfiConverterTypeMediaSource.allocationSize(value.`source`) +
FfiConverterOptionalTypeVideoInfo.allocationSize(value.`info`)
)

override fun write(value: VideoMessageContent, buf: ByteBuffer) {
FfiConverterString.write(value.`body`, buf)
FfiConverterOptionalTypeFormattedBody.write(value.`formatted`, buf)
FfiConverterOptionalString.write(value.`filename`, buf)
FfiConverterTypeMediaSource.write(value.`source`, buf)
FfiConverterOptionalTypeVideoInfo.write(value.`info`, buf)
}
Expand Down

0 comments on commit a7956b2

Please sign in to comment.