Fix -produce framework broken by 9d14a29f
This commit is contained in:
committed by
SvyatoslavScherbina
parent
9d14a29f49
commit
d7d0bcb92b
+5
-1
@@ -306,8 +306,12 @@ private fun ObjCExportCodeGenerator.setObjCExportTypeInfo(
|
||||
objCClass: ConstPointer? = null,
|
||||
typeAdapter: ConstPointer? = null
|
||||
) {
|
||||
if (converter != null) {
|
||||
assert(converter.llvmType == pointerType(functionType(int8TypePtr, false, codegen.kObjHeaderPtr)))
|
||||
}
|
||||
|
||||
val objCExportAddition = Struct(runtime.typeInfoObjCExportAddition,
|
||||
converter,
|
||||
converter?.bitcast(int8TypePtr),
|
||||
objCClass,
|
||||
typeAdapter
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user