Hi guys, can anybody help me with compiler error `...
# kotlin-native
l
Hi guys, can anybody help me with compiler error
src/kotlin/main.kt:36:38: error: type _MDP_NOTIFY_TYPE is not supported in callback signature
-> this probably meanas that I have too complex enum class as a parameter in the callback function. I want to know what’s not supported on the enum and if it is suppose to be fixed soon
o
Only primitive types are supported in callbacks, please use Int argument and use
Enum.values()[value]
to get enum object. We will try to fix it in next releases.
l
ok, but I can’t change the interface. I need to use binary libs from a supplier. I will check with next releases. Thank you