[ObjCExport] Proper fix for OBJC_OLD_DISPATCH_PROTOTYPES
This commit is contained in:
committed by
Sergey Bogolepov
parent
37bf7d7ef9
commit
2b47ee0384
+1
-1
@@ -377,7 +377,7 @@ internal class ObjCExportCodeGenerator(
|
||||
)
|
||||
}
|
||||
|
||||
private val impType = pointerType(functionType(int8TypePtr, true, int8TypePtr, int8TypePtr))
|
||||
private val impType = pointerType(functionType(voidType, false))
|
||||
|
||||
internal val directMethodAdapters = mutableMapOf<DirectAdapterRequest, ObjCToKotlinMethodAdapter>()
|
||||
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
|
||||
#if KONAN_OBJC_INTEROP
|
||||
|
||||
#define OBJC_OLD_DISPATCH_PROTOTYPES 1
|
||||
|
||||
#import <Foundation/NSObject.h>
|
||||
#import <Foundation/NSValue.h>
|
||||
#import <Foundation/NSString.h>
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
|
||||
#if KONAN_OBJC_INTEROP
|
||||
|
||||
#define OBJC_OLD_DISPATCH_PROTOTYPES 1
|
||||
|
||||
#import <Foundation/NSObject.h>
|
||||
#import <Foundation/NSValue.h>
|
||||
#import <Foundation/NSString.h>
|
||||
|
||||
Reference in New Issue
Block a user