Hello, everyone. Is it possible to specify some se...
# kotlin-native
a
Hello, everyone. Is it possible to specify some settings in gradle so that Kotlin does not generate proxy functions using String? They don't help me
noStringConversion = stat
even if I add libc.a as a static library
@kotlinx.cinterop.internal.CCall public external fun stat(@kotlinx.cinterop.internal.CCall.CString __path: kotlin.String?, __buf: kotlinx.cinterop.CValuesRef<platform.posix.stat>?): <http://kotlin.Int|kotlin.Int> { /* compiled code */ }
Copy code
Hello, it's me from the future. You can only override automatic casts in static libraries. It is enough to write your own wrapper for standard functions. Don't try to add libc.a statically