Hi! Checking in on callbacks/function-pointers wit...
# kotlin-native
j
Hi! Checking in on callbacks/function-pointers with struct-by-value returns. From the INTEROP.md readme:
Callbacks
[…]
Note that some function types are not supported currently. For example, it is not possible to get pointer to function that receives or returns structs by value.
Is this functionality on the radar/roadmap, or more of a “we’ll get to it someday” status?
o
it is being considered, but we need to learn potential usecases before investing time into that feature. Why do you need it?
j
Okay, understood. I had asked about this before, but I don’t think I was very clear about it, so sorry about the repeat.
My use case is interop with the Godot game engine via their GDNative C bindings. https://godotengine.org/article/look-gdnative-architecture