Fix nullability of interop pointer types in produced Objective-C header

This commit is contained in:
Svyatoslav Scherbina
2019-06-21 17:00:05 +03:00
committed by SvyatoslavScherbina
parent 36cf02a317
commit fba4a35d60
@@ -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.
}