@@ -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
2120import com.sun.jna.Library
21+ import com.sun.jna.IntegerType
2222import com.sun.jna.Native
2323import com.sun.jna.Pointer
2424import 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.*
2827import java.nio.ByteBuffer
2928import java.nio.ByteOrder
3029import java.nio.CharBuffer
3130import java.nio.charset.CodingErrorAction
3231import java.util.concurrent.ConcurrentHashMap
3332import 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