diff --git a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportHeaderGenerator.kt b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportHeaderGenerator.kt index 78a1a15c1e9..edfc1467efd 100644 --- a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportHeaderGenerator.kt +++ b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportHeaderGenerator.kt @@ -889,7 +889,7 @@ internal class ObjCExportTranslatorImpl( ObjCValueType.UNSIGNED_LONG_LONG -> ObjCPrimitiveType("uint64_t") ObjCValueType.FLOAT -> ObjCPrimitiveType("float") ObjCValueType.DOUBLE -> ObjCPrimitiveType("double") - ObjCValueType.POINTER -> ObjCPointerType(ObjCVoidType) + ObjCValueType.POINTER -> ObjCPointerType(ObjCVoidType, kotlinType.binaryRepresentationIsNullable()) } // TODO: consider other namings. }