Is there an equivalent to `@file:JvmName` for kotl...
# kotlin-native
e
Is there an equivalent to
@file:JvmName
for kotlin-native?
d
Can I ask why?
b
Change how a file is exposed to Obj-C (or other languages)
If you have a file called Sample.kt with a global called
prop
, in Obj-C, that looks like SampleKt.prop
d
Oops, I forgot about other languages that aren't C.
b
heh
we should just all go back to C
d
It makes things all nice and simple. 🧌
b
and fast
s
There is no equivalent to
@file.JvmName
, so the nearest action is to rename a file.
e
but that will mean it will always be generated with
Kt
suffix