<@U3SRWNXQB> I wonder if your above commit represe...
# kotlin-native
j
@svyatoslav.scherbina I wonder if your above commit represents some hope that restriction is going away, or has been removed? 😃
s
It could be part of master but not released yet. Does the commit come before or after the 1.3.20 tag? I’m on mobile now and it’s hard to navigate through the commit history in the mobile site.
j
Yeah, also on mobile here but I’ll do some archaeology later to see. Hopefully!
g
According to GitHub this commit available only in master, so I believe it not released
Probably this commit also related to this interop change (but also not released yet) https://github.com/JetBrains/kotlin-native/commit/6ca196399a245821887c019898d80f5f7f8931c8
s
Exactly. Callbacks returning structs are supported in master.
j
Fantastic! This is the feature that was keeping me off K/N, so I’m really excited. Thanks for the info!
👍 1
n
That commit ( https://github.com/JetBrains/kotlin-native/commit/6ca196399a245821887c019898d80f5f7f8931c8 ) will make it significantly easier to have Kotlin Native ported to additional platforms with libffi being dropped as a dependency. Especially when using C APIs that make use of C varargs (widely used on embedded platforms).
👌 1
s
Once libffi is gone is there anything preventing usage of K/N on bitcode only platforms such as the Apple TV or Apple Watch?
s
Different LLVM versions maybe. Bitcode is supposed to be generated by patched Apple LLVM version shipped with Xcode. The difference between versions is to be investigated.
s
Sadly that’s not a topic easily Googled. When I looked I mostly found articles about bitcode from 2015.
1