Chanjung Kim

Results 59 comments of Chanjung Kim

@CodingMarkus ~~You're right, I also don't get why I thought it was already fixed, but I upgraded cc from 1.0.77 to 1.0.79 and it worked. Maybe my problem was fixed...

This is the original issue: https://gitlab.com/trixnity/uniffi-kotlin-multiplatform-bindings/-/issues/24

Found that `kotlin.concurrent.AtomicReference` (not kotlinx) has the same problem. Create a fresh multiplatform project, set the Kotlin version to 1.9.20, run the following, and you'll get the same result. ```kotlin...

Is it an expected behavior and an imitation of JVM's Integer pooling? I also found that `compareAndSet` always fails when `value < -128`.

For those who have the same problem, we modified MOKO resources as follows, and it works well. https://github.com/clebrain/moko-resources/blob/2cedf849eadd4be7f86ff7fa4ba2d6606bf15aa9/resources-compose/src/iosMain/kotlin/dev/icerock/moko/resources/compose/ImageResource.kt#L22-L59 ![image](https://github.com/icerockdev/moko-resources/assets/17005454/aa059d6d-8d1c-4a5f-8dcb-d98fc9a82819)

Are there any additional fixes needed? Please let me know if there are any :)

I accidently merged another branch to `feat/amidi`, I will make a new branch (`feat/amidi-2`) and a PR from the commit where we've left.

I didn't know that force-pushing also works in this case... Actually, this is my first time accidentally merging branches already published for a PR. Thanks for your reply!

~~@MarijnS95 I found some occurrences of `as ffi::size_t` in the current code. Would it be better to change that into `as _`? (#370)~~ Merged the newly updated `master` into `feat/amidi`...

I changed the base branch from `master` to `ndk-rework-media-error`; should I revert it back to `master`?