ce6c8a51ba
Previous implementation of `@ExportObjCClass` relied on the fact that initialization of top-level fields was eager, i.e. happened during Kotlin runtime initialization, when Kotlin code is accesses for the first time. With the new MM, initialization of top-level fields became lazy, it happens when the particular file is accessed for the first time. This commit fixes `@ExportObjCClass` with the new MM by making the initialization of particular top-level fields eager. ^KT-53373 Fixed
9 lines
382 B
Modula-2
9 lines
382 B
Modula-2
language = Objective-C
|
|
headers = Foundation/NSArray.h Foundation/NSValue.h Foundation/NSString.h Foundation/NSStream.h Foundation/NSBundle.h \
|
|
objc/runtime.h
|
|
headerFilter = **/interop/objc/tests/**.h \
|
|
Foundation/NSArray.h Foundation/NSValue.h Foundation/NSString.h Foundation/NSStream.h \
|
|
objc/objc.h Foundation/NSBundle.h \
|
|
objc/runtime.h
|
|
linkerOpts = -lobjctests
|