Skip to content

Commit 0fc9a47

Browse files
committed
chore: revert imports changes in vss_rust_client_ffi.kt
1 parent 5619bee commit 0fc9a47

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

libs/vss-client/src/main/java/uniffi/vss_rust_client_ffi/vss_rust_client_ffi.kt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,21 @@ package uniffi.vss_rust_client_ffi
1717
// compile the Rust component. The easiest way to ensure this is to bundle the Kotlin
1818
// helpers directly inline like we're doing here.
1919

20-
import com.sun.jna.IntegerType
2120
import com.sun.jna.Library
21+
import com.sun.jna.IntegerType
2222
import com.sun.jna.Native
2323
import com.sun.jna.Pointer
2424
import com.sun.jna.Structure
25-
import com.sun.jna.ptr.ByReference
26-
import kotlinx.coroutines.CancellableContinuation
27-
import kotlinx.coroutines.suspendCancellableCoroutine
25+
import com.sun.jna.Callback
26+
import com.sun.jna.ptr.*
2827
import java.nio.ByteBuffer
2928
import java.nio.ByteOrder
3029
import java.nio.CharBuffer
3130
import java.nio.charset.CodingErrorAction
3231
import java.util.concurrent.ConcurrentHashMap
3332
import kotlin.coroutines.resume
33+
import kotlinx.coroutines.CancellableContinuation
34+
import kotlinx.coroutines.suspendCancellableCoroutine
3435

3536
// This is a helper for safely working with byte buffers returned from the Rust code.
3637
// A rust-owned buffer is represented by its capacity, its current length, and a

0 commit comments

Comments
 (0)