Is it known regression in cinterop? `libui` have o...
# kotlin-native
m
Is it known regression in cinterop?
libui
have opaque pointers, say
typedef struct uiArea uiArea;
Previously it was impored as
typealias uiArea = CPointed
And now (in 1.4.0-rc) it is just missed in output of
klib contents ...
, and so not available by Ctrl-B in IDEA, and inspection by F2 complains "Cannot resolve symbol 'uiArea'".
d
I never had the typealias. It was always
import cnames.structs.uiArea
.
m
Well, maybe it changed over times, but now it just missed :)
Seems that now it lives in manifest/exportForwardDeclarations property. But why IDEA don't see it?
d
Not sure, I'm always forced to type it by hand. Maybe they forgot to update the tooling.
d
@msink
s it known regression in cinterop?
libui
 have opaque pointers, say 
typedef struct uiArea uiArea;
Previously it was impored as 
typealias uiArea = CPointed
What was Kotlin version when it had different behavior?
And now (in 1.4.0-rc) it is just missed in output of 
klib contents ...
, and so not available by Ctrl-B in IDEA, and inspection by F2 complains “Cannot resolve symbol ‘uiArea’”
AFAIK, exportForwardDeclarations were never indexed in IDE. That’s actually an issue that should be fixed: https://youtrack.jetbrains.com/issue/KT-40741
m
What was Kotlin version when it had different behavior?
Don't remember exactly, very old, more than two years ago. 😁
And - it should be indexed not only in IDE, in other tooling too, including Dokka.