diff --git a/Interop/Indexer/src/main/kotlin/org/jetbrains/kotlin/native/interop/indexer/Indexer.kt b/Interop/Indexer/src/main/kotlin/org/jetbrains/kotlin/native/interop/indexer/Indexer.kt index 79f40da6140..259dcc4f67c 100644 --- a/Interop/Indexer/src/main/kotlin/org/jetbrains/kotlin/native/interop/indexer/Indexer.kt +++ b/Interop/Indexer/src/main/kotlin/org/jetbrains/kotlin/native/interop/indexer/Indexer.kt @@ -285,6 +285,11 @@ internal class NativeIndexImpl(val library: NativeLibrary) : NativeIndex() { getStructDeclAt(cursor) } + CXIdxEntity_Typedef -> { + val type = clang_getCursorType(cursor) + getTypedef(type) + } + CXIdxEntity_Function -> { val name = entityName!! val returnType = convertType(clang_getCursorResultType(cursor))