Andrey
10/08/2024, 9:47 AMnoStringConversion = 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 */ }
Andrey
10/16/2024, 4:44 PMHello, 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