├── .clang-format
├── .github
└── ISSUE_TEMPLATE
│ └── config.yml
├── .gitignore
├── .gitmodules
├── .idea
├── codeStyles
│ └── codeStyleConfig.xml
└── vcs.xml
├── BUILDING_LLVM.md
├── CHANGELOG.md
├── COCOAPODS.md
├── CODE_COVERAGE.md
├── CONCURRENCY.md
├── DEBUGGING.md
├── DISTRO_README.md
├── FAQ.md
├── GRADLE_PLUGIN.md
├── HACKING.md
├── IMMUTABILITY.md
├── INTEROP.md
├── IOS_SYMBOLICATION.md
├── Interop
├── .idea
│ ├── compiler.xml
│ ├── gradle.xml
│ ├── libraries
│ │ ├── Gradle__org_jetbrains_kotlin_kotlin_runtime_1_0_3.xml
│ │ └── Gradle__org_jetbrains_kotlin_kotlin_stdlib_1_0_3.xml
│ ├── modules.xml
│ └── modules
│ │ ├── Indexer
│ │ └── Indexer.iml
│ │ ├── Runtime
│ │ └── Runtime.iml
│ │ └── StubGenerator
│ │ └── StubGenerator.iml
├── Indexer
│ ├── build.gradle
│ ├── clang.def
│ ├── prebuilt
│ │ └── nativeInteropStubs
│ │ │ ├── c
│ │ │ └── clangstubs.c
│ │ │ └── kotlin
│ │ │ └── clang
│ │ │ └── clang.kt
│ └── src
│ │ ├── main
│ │ └── kotlin
│ │ │ └── org
│ │ │ └── jetbrains
│ │ │ └── kotlin
│ │ │ └── native
│ │ │ └── interop
│ │ │ └── indexer
│ │ │ ├── HeaderToIdMapper.kt
│ │ │ ├── Indexer.kt
│ │ │ ├── MacroConstants.kt
│ │ │ ├── ModuleSupport.kt
│ │ │ ├── NativeIndex.kt
│ │ │ └── Utils.kt
│ │ └── nativeInteropStubs
│ │ └── cpp
│ │ ├── disable-abi-checks.cpp
│ │ └── signalChaining.cpp
├── JsRuntime
│ ├── build.gradle
│ └── src
│ │ └── main
│ │ ├── js
│ │ └── jsinterop.js
│ │ └── kotlin
│ │ └── jsinterop.kt
├── README.md
├── Runtime
│ ├── build.gradle
│ └── src
│ │ ├── callbacks
│ │ └── c
│ │ │ └── callbacks.c
│ │ ├── jvm
│ │ └── kotlin
│ │ │ └── kotlinx
│ │ │ └── cinterop
│ │ │ ├── JvmCallbacks.kt
│ │ │ ├── JvmNativeMem.kt
│ │ │ ├── JvmTypes.kt
│ │ │ └── JvmUtils.kt
│ │ ├── main
│ │ └── kotlin
│ │ │ └── kotlinx
│ │ │ └── cinterop
│ │ │ ├── Generated.kt
│ │ │ ├── StableRef.kt
│ │ │ ├── Types.kt
│ │ │ ├── Utils.kt
│ │ │ └── package-info.java
│ │ └── native
│ │ └── kotlin
│ │ └── kotlinx
│ │ └── cinterop
│ │ ├── ForeignException.kt
│ │ ├── FunctionPointers.kt
│ │ ├── NativeMem.kt
│ │ ├── NativeStableRef.kt
│ │ ├── NativeTypes.kt
│ │ ├── NativeUtils.kt
│ │ ├── ObjectiveCImpl.kt
│ │ ├── ObjectiveCKClassSupport.kt
│ │ ├── ObjectiveCUtils.kt
│ │ ├── Pinning.kt
│ │ └── internal
│ │ └── Annotations.kt
└── StubGenerator
│ ├── build.gradle
│ └── src
│ ├── main
│ └── kotlin
│ │ └── org
│ │ └── jetbrains
│ │ └── kotlin
│ │ └── native
│ │ └── interop
│ │ └── gen
│ │ ├── AbiSpecific.kt
│ │ ├── CWrapperGenerator.kt
│ │ ├── CodeBuilders.kt
│ │ ├── CodeUtils.kt
│ │ ├── Imports.kt
│ │ ├── KotlinCodeModel.kt
│ │ ├── LibraryUtils.kt
│ │ ├── MappingBridgeGenerator.kt
│ │ ├── MappingBridgeGeneratorImpl.kt
│ │ ├── Mappings.kt
│ │ ├── ObjCStubs.kt
│ │ ├── SimpleBridgeGenerator.kt
│ │ ├── SimpleBridgeGeneratorImpl.kt
│ │ ├── StructRendering.kt
│ │ ├── StubIr.kt
│ │ ├── StubIrBridgeBuilder.kt
│ │ ├── StubIrBuilder.kt
│ │ ├── StubIrDriver.kt
│ │ ├── StubIrElementBuilders.kt
│ │ ├── StubIrExtensions.kt
│ │ ├── StubIrMetadataEmitter.kt
│ │ ├── StubIrTextEmitter.kt
│ │ ├── StubIrType.kt
│ │ ├── StubIrVisitor.kt
│ │ ├── TypeUtils.kt
│ │ ├── defFileDependencies.kt
│ │ ├── jvm
│ │ ├── CommandLine.kt
│ │ ├── GenerationMode.kt
│ │ ├── InteropConfiguration.kt
│ │ ├── InteropLibraryCreation.kt
│ │ ├── ToolConfig.kt
│ │ └── main.kt
│ │ └── wasm
│ │ ├── StubGenerator.kt
│ │ └── idl
│ │ ├── dom.kt
│ │ ├── idl.kt
│ │ └── idlMath.kt
│ └── test
│ └── kotlin
│ └── org
│ └── jetbrains
│ └── kotlin
│ └── native
│ └── interop
│ └── gen
│ └── StubIrToMetadataTests.kt
├── LIBRARIES.md
├── LICENSE
├── MULTIPLATFORM.md
├── OBJC_INTEROP.md
├── PLATFORM_LIBS.md
├── README.md
├── RELEASE_NOTES.md
├── _nav_reference.yml
├── backend.native
├── backend.native.iml
├── bc.frontend
│ └── bc.frontend.iml
├── build.gradle
├── cli.bc
│ ├── cli.bc.iml
│ └── src
│ │ └── org
│ │ └── jetbrains
│ │ └── kotlin
│ │ └── cli
│ │ └── bc
│ │ ├── K2Native.kt
│ │ └── K2NativeCompilerArguments.kt
├── compiler
│ └── ir
│ │ └── backend.native
│ │ ├── resources
│ │ └── META-INF
│ │ │ └── services
│ │ │ └── org.jetbrains.kotlin.resolve.ExternalOverridabilityCondition
│ │ └── src
│ │ └── org
│ │ └── jetbrains
│ │ └── kotlin
│ │ ├── backend
│ │ ├── common
│ │ │ └── AbstractValueUsageTransformer.kt
│ │ └── konan
│ │ │ ├── BinaryType.kt
│ │ │ ├── BitcodeCompiler.kt
│ │ │ ├── BitcodeEmbedding.kt
│ │ │ ├── Boxing.kt
│ │ │ ├── BuiltInFictitiousFunctionIrClassFactory.kt
│ │ │ ├── CAdapterCompile.kt
│ │ │ ├── CAdapterGenerator.kt
│ │ │ ├── CStubsManager.kt
│ │ │ ├── CacheSupport.kt
│ │ │ ├── CachedLibraries.kt
│ │ │ ├── CodeGenerationInfo.kt
│ │ │ ├── CompilerOutput.kt
│ │ │ ├── Context.kt
│ │ │ ├── DestroyRuntimeMode.kt
│ │ │ ├── EntryPoint.kt
│ │ │ ├── EnumSpecialDescriptorsFactory.kt
│ │ │ ├── Exceptions.kt
│ │ │ ├── FeaturedLibraries.kt
│ │ │ ├── GraphAlgorithms.kt
│ │ │ ├── InlineClasses.kt
│ │ │ ├── InternalAbi.kt
│ │ │ ├── InteropUtils.kt
│ │ │ ├── KonanBackendContext.kt
│ │ │ ├── KonanCompilerFrontendServices.kt
│ │ │ ├── KonanConfig.kt
│ │ │ ├── KonanConfigurationKeys.kt
│ │ │ ├── KonanDriver.kt
│ │ │ ├── KonanFqNames.kt
│ │ │ ├── KonanLibrariesResolveSupport.kt
│ │ │ ├── KonanLoweringPhases.kt
│ │ │ ├── KonanReflectionTypes.kt
│ │ │ ├── Linker.kt
│ │ │ ├── LlvmModuleSpecification.kt
│ │ │ ├── LlvmModuleSpecificationImpl.kt
│ │ │ ├── MemoryModel.kt
│ │ │ ├── ObjCInterop.kt
│ │ │ ├── OptimizationPipeline.kt
│ │ │ ├── OutputFiles.kt
│ │ │ ├── PsiToIr.kt
│ │ │ ├── Reporting.kt
│ │ │ ├── RuntimeNames.kt
│ │ │ ├── TestRunnerKind.kt
│ │ │ ├── TopDownAnalyzerFacadeForKonan.kt
│ │ │ ├── ToplevelPhases.kt
│ │ │ ├── cgen
│ │ │ ├── CBridgeGen.kt
│ │ │ ├── CBridgeGenUtils.kt
│ │ │ ├── CSyntaxSupport.kt
│ │ │ └── InteropIrUtils.kt
│ │ │ ├── descriptors
│ │ │ ├── ClassLayoutBuilder.kt
│ │ │ ├── DeepPrintVisitor.kt
│ │ │ ├── DeepVisitor.kt
│ │ │ ├── DescriptorUtils.kt
│ │ │ ├── KonanSharedVariablesManager.kt
│ │ │ ├── LegacyDescriptorUtils.kt
│ │ │ └── utils.kt
│ │ │ ├── injection.kt
│ │ │ ├── ir
│ │ │ ├── FakeIrUtils.kt
│ │ │ ├── Ir.kt
│ │ │ ├── IrTypeAsKotlinType.kt
│ │ │ ├── ModuleIndex.kt
│ │ │ ├── NewIrUtils.kt
│ │ │ └── interop
│ │ │ │ ├── DescriptorToIrTranslationUtils.kt
│ │ │ │ ├── IrProviderForCEnumAndCStructStubs.kt
│ │ │ │ ├── cenum
│ │ │ │ ├── CEnumByValueFunctionGenerator.kt
│ │ │ │ ├── CEnumClassGenerator.kt
│ │ │ │ ├── CEnumCompanionGenerator.kt
│ │ │ │ └── CEnumVarClassGenerator.kt
│ │ │ │ └── cstruct
│ │ │ │ ├── CStructVarClassGenerator.kt
│ │ │ │ └── CStructVarCompanionGenerator.kt
│ │ │ ├── llvm
│ │ │ ├── BinaryInterface.kt
│ │ │ ├── BitcodePhases.kt
│ │ │ ├── CodeGenerator.kt
│ │ │ ├── ContextUtils.kt
│ │ │ ├── DataLayout.kt
│ │ │ ├── DebugUtils.kt
│ │ │ ├── Dwarf.kt
│ │ │ ├── EntryPoint.kt
│ │ │ ├── HashUtils.kt
│ │ │ ├── Imports.kt
│ │ │ ├── IntrinsicGenerator.kt
│ │ │ ├── IrToBitcode.kt
│ │ │ ├── KotlinObjCClassInfoGenerator.kt
│ │ │ ├── LlvmAttributes.kt
│ │ │ ├── LlvmDeclarations.kt
│ │ │ ├── LlvmLinkOptions.kt
│ │ │ ├── LlvmUtils.kt
│ │ │ ├── RTTIGenerator.kt
│ │ │ ├── RetainAnnotation.kt
│ │ │ ├── Runtime.kt
│ │ │ ├── StaticData.kt
│ │ │ ├── StaticDataUtils.kt
│ │ │ ├── StaticObjects.kt
│ │ │ ├── VariableManager.kt
│ │ │ ├── VerifyModule.kt
│ │ │ ├── coverage
│ │ │ │ ├── CoverageInformation.kt
│ │ │ │ ├── CoverageManager.kt
│ │ │ │ ├── CoverageRegionCollector.kt
│ │ │ │ ├── LLVMCoverageInstrumentation.kt
│ │ │ │ └── LLVMCoverageWriter.kt
│ │ │ ├── objc
│ │ │ │ ├── ObjCCodeGenerator.kt
│ │ │ │ ├── ObjCDataGenerator.kt
│ │ │ │ └── linkObjC.kt
│ │ │ ├── objcexport
│ │ │ │ ├── BlockPointerSupport.kt
│ │ │ │ └── ObjCExportCodeGenerator.kt
│ │ │ └── visibility.kt
│ │ │ ├── lower
│ │ │ ├── Autoboxing.kt
│ │ │ ├── BridgesBuilding.kt
│ │ │ ├── BuiltinOperatorLowering.kt
│ │ │ ├── CompileTimeEvaluateLowering.kt
│ │ │ ├── ContractsDslRemover.kt
│ │ │ ├── DataClassOperatorsLowering.kt
│ │ │ ├── DelegationLowering.kt
│ │ │ ├── EnumClassLowering.kt
│ │ │ ├── EnumConstructorsLowering.kt
│ │ │ ├── ExpectDeclarationsRemoving.kt
│ │ │ ├── FinallyBlocksLowering.kt
│ │ │ ├── FunctionReferenceLowering.kt
│ │ │ ├── InitializersLowering.kt
│ │ │ ├── InnerClassLowering.kt
│ │ │ ├── InteropCallConvertors.kt
│ │ │ ├── InteropLowering.kt
│ │ │ ├── KonanDefaultArgumentStubGenerator.kt
│ │ │ ├── KonanDefaultParameterInjector.kt
│ │ │ ├── NativeInlineFunctionResolver.kt
│ │ │ ├── NativeSingleAbstractMethodLowering.kt
│ │ │ ├── NativeSuspendFunctionLowering.kt
│ │ │ ├── PostInlineLowering.kt
│ │ │ ├── PreInlineLowering.kt
│ │ │ ├── RedundantCoercionsCleaner.kt
│ │ │ ├── ReflectionSupport.kt
│ │ │ ├── ReturnsInsertionLowering.kt
│ │ │ ├── SpecialBackendChecksTraversal.kt
│ │ │ ├── StringConcatenationLowering.kt
│ │ │ ├── TestProcessor.kt
│ │ │ ├── TypeOperatorLowering.kt
│ │ │ ├── VarargLowering.kt
│ │ │ └── matchers
│ │ │ │ ├── IrCallMatcher.kt
│ │ │ │ └── IrFunctionMatcher.kt
│ │ │ ├── objcexport
│ │ │ ├── CustomTypeMapper.kt
│ │ │ ├── MethodBridge.kt
│ │ │ ├── ObjCExport.kt
│ │ │ ├── ObjCExportCodeSpec.kt
│ │ │ ├── ObjCExportHeaderGenerator.kt
│ │ │ ├── ObjCExportHeaderGeneratorImpl.kt
│ │ │ ├── ObjCExportLazy.kt
│ │ │ ├── ObjCExportLazyUtils.kt
│ │ │ ├── ObjCExportMapper.kt
│ │ │ ├── ObjCExportNamer.kt
│ │ │ ├── ObjCExportedStubs.kt
│ │ │ ├── ObjcExportHeaderGeneratorMobile.kt
│ │ │ ├── StubBuilder.kt
│ │ │ ├── StubRenderer.kt
│ │ │ ├── objcTypes.kt
│ │ │ └── stubs.kt
│ │ │ ├── optimizations
│ │ │ ├── CallGraphBuilder.kt
│ │ │ ├── DFGBuilder.kt
│ │ │ ├── DataFlowIR.kt
│ │ │ ├── Devirtualization.kt
│ │ │ ├── EscapeAnalysis.kt
│ │ │ └── LocalEscapeAnalysis.kt
│ │ │ ├── serialization
│ │ │ ├── IrSerializationUtil.kt
│ │ │ ├── KonanDeclarationTable.kt
│ │ │ ├── KonanIdSignaturer.kt
│ │ │ ├── KonanIrFileSerializer.kt
│ │ │ ├── KonanIrModuleSerializer.kt
│ │ │ ├── KonanIrlinker.kt
│ │ │ ├── KonanMangler.kt
│ │ │ ├── StringTableUtil.kt
│ │ │ └── google_descriptor.proto1
│ │ │ └── util
│ │ │ └── PrimitiveLists.kt
│ │ └── ir
│ │ └── util
│ │ └── IrUtils2.kt
├── llvm.def
├── llvm.list
└── tests
│ ├── build.gradle
│ ├── codegen
│ ├── annotations
│ │ └── annotations0.kt
│ ├── arithmetic
│ │ ├── basic.kt
│ │ ├── division.kt
│ │ └── github1856.kt
│ ├── associatedObjects
│ │ └── associatedObjects1.kt
│ ├── basics
│ │ ├── array_to_any.kt
│ │ ├── canonical_name.kt
│ │ ├── cast_null.kt
│ │ ├── cast_simple.kt
│ │ ├── check_type.kt
│ │ ├── companion.kt
│ │ ├── concatenation.kt
│ │ ├── const_infinity.kt
│ │ ├── expression_as_statement.kt
│ │ ├── k42000_1.kt
│ │ ├── k42000_2.kt
│ │ ├── local_variable.kt
│ │ ├── null_check.kt
│ │ ├── safe_cast.kt
│ │ ├── spread_operator_0.kt
│ │ ├── superFunCall.kt
│ │ ├── superGetterCall.kt
│ │ ├── superSetterCall.kt
│ │ ├── typealias1.kt
│ │ ├── unchecked_cast1.kt
│ │ ├── unchecked_cast2.kt
│ │ ├── unchecked_cast3.kt
│ │ ├── unchecked_cast4.kt
│ │ ├── unit1.kt
│ │ ├── unit2.kt
│ │ ├── unit3.kt
│ │ └── unit4.kt
│ ├── boxing
│ │ ├── box_cache0.kt
│ │ ├── boxing0.kt
│ │ ├── boxing1.kt
│ │ ├── boxing10.kt
│ │ ├── boxing11.kt
│ │ ├── boxing12.kt
│ │ ├── boxing13.kt
│ │ ├── boxing14.kt
│ │ ├── boxing15.kt
│ │ ├── boxing2.kt
│ │ ├── boxing3.kt
│ │ ├── boxing4.kt
│ │ ├── boxing5.kt
│ │ ├── boxing6.kt
│ │ ├── boxing7.kt
│ │ ├── boxing8.kt
│ │ └── boxing9.kt
│ ├── branching
│ │ ├── advanced_when2.kt
│ │ ├── advanced_when5.kt
│ │ ├── if_else.kt
│ │ ├── when2.kt
│ │ ├── when4.kt
│ │ ├── when5.kt
│ │ ├── when6.kt
│ │ ├── when7.kt
│ │ ├── when8.kt
│ │ ├── when9.kt
│ │ ├── when_through.kt
│ │ └── when_with_try1.kt
│ ├── bridges
│ │ ├── linkTest2_lib.kt
│ │ ├── linkTest2_main.kt
│ │ ├── linkTest_lib.kt
│ │ ├── linkTest_main.kt
│ │ ├── nativePointed.kt
│ │ ├── returnTypeSignature.kt
│ │ ├── special.kt
│ │ ├── specialGeneric.kt
│ │ ├── test0.kt
│ │ ├── test1.kt
│ │ ├── test10.kt
│ │ ├── test11.kt
│ │ ├── test12.kt
│ │ ├── test13.kt
│ │ ├── test14.kt
│ │ ├── test15.kt
│ │ ├── test16.kt
│ │ ├── test17.kt
│ │ ├── test18.kt
│ │ ├── test2.kt
│ │ ├── test3.kt
│ │ ├── test4.kt
│ │ ├── test5.kt
│ │ ├── test6.kt
│ │ ├── test7.kt
│ │ ├── test8.kt
│ │ └── test9.kt
│ ├── classDelegation
│ │ ├── generic.kt
│ │ ├── linkTest_lib.kt
│ │ ├── linkTest_main.kt
│ │ ├── method.kt
│ │ ├── property.kt
│ │ └── withBridge.kt
│ ├── contracts
│ │ └── contracts.kt
│ ├── controlflow
│ │ ├── break.kt
│ │ ├── break1.kt
│ │ ├── for_loops.kt
│ │ ├── for_loops_array.kt
│ │ ├── for_loops_array_break_continue.kt
│ │ ├── for_loops_array_indices.kt
│ │ ├── for_loops_array_mutation.kt
│ │ ├── for_loops_array_nested.kt
│ │ ├── for_loops_array_nullable.kt
│ │ ├── for_loops_array_side_effects.kt
│ │ ├── for_loops_call_order.kt
│ │ ├── for_loops_coroutines.kt
│ │ ├── for_loops_empty_range.kt
│ │ ├── for_loops_errors.kt
│ │ ├── for_loops_let_with_nullable.kt
│ │ ├── for_loops_nested.kt
│ │ ├── for_loops_overflow.kt
│ │ ├── for_loops_types.kt
│ │ └── unreachable1.kt
│ ├── coroutines
│ │ ├── anonymousObject.kt
│ │ ├── controlFlow_chain.kt
│ │ ├── controlFlow_finally1.kt
│ │ ├── controlFlow_finally2.kt
│ │ ├── controlFlow_finally3.kt
│ │ ├── controlFlow_finally4.kt
│ │ ├── controlFlow_finally5.kt
│ │ ├── controlFlow_finally6.kt
│ │ ├── controlFlow_finally7.kt
│ │ ├── controlFlow_if1.kt
│ │ ├── controlFlow_if2.kt
│ │ ├── controlFlow_inline1.kt
│ │ ├── controlFlow_inline2.kt
│ │ ├── controlFlow_inline3.kt
│ │ ├── controlFlow_tryCatch1.kt
│ │ ├── controlFlow_tryCatch2.kt
│ │ ├── controlFlow_tryCatch3.kt
│ │ ├── controlFlow_tryCatch4.kt
│ │ ├── controlFlow_tryCatch5.kt
│ │ ├── controlFlow_while1.kt
│ │ ├── controlFlow_while2.kt
│ │ ├── coroutineContext1.kt
│ │ ├── coroutineContext2.kt
│ │ ├── correctOrder1.kt
│ │ ├── degenerate1.kt
│ │ ├── degenerate2.kt
│ │ ├── functionReference_eqeq_name.kt
│ │ ├── functionReference_invokeAsFunction.kt
│ │ ├── functionReference_lambdaAsSuspendLambda.kt
│ │ ├── functionReference_simple.kt
│ │ ├── kt41394.kt
│ │ ├── returnsNothing1.kt
│ │ ├── returnsUnit1.kt
│ │ ├── simple.kt
│ │ ├── suspendConversion.kt
│ │ └── withReceiver.kt
│ ├── cycles
│ │ ├── cycle.kt
│ │ ├── cycle_do.kt
│ │ └── cycle_for.kt
│ ├── dataflow
│ │ ├── scope1.kt
│ │ └── uninitialized_val.kt
│ ├── delegatedProperty
│ │ ├── correctFieldsOrder_lib.kt
│ │ ├── correctFieldsOrder_main.kt
│ │ ├── delegatedOverride_lib.kt
│ │ ├── delegatedOverride_main.kt
│ │ ├── lazy.kt
│ │ ├── local.kt
│ │ ├── map.kt
│ │ ├── observable.kt
│ │ ├── packageLevel.kt
│ │ ├── simpleVal.kt
│ │ └── simpleVar.kt
│ ├── devirtualization
│ │ ├── anonymousObject.kt
│ │ ├── getter_looking_as_box_function.kt
│ │ └── lateinitInterface.kt
│ ├── enum
│ │ ├── companionObject.kt
│ │ ├── interfaceCallNoEntryClass.kt
│ │ ├── interfaceCallWithEntryClass.kt
│ │ ├── isFrozen.kt
│ │ ├── kt38540.kt
│ │ ├── lambdaInDefault.kt
│ │ ├── linkTest_lib.kt
│ │ ├── linkTest_main.kt
│ │ ├── loop.kt
│ │ ├── nested.kt
│ │ ├── reorderedArguments.kt
│ │ ├── switchLowering.kt
│ │ ├── test0.kt
│ │ ├── test1.kt
│ │ ├── vCallNoEntryClass.kt
│ │ ├── vCallWithEntryClass.kt
│ │ ├── valueOf.kt
│ │ ├── values.kt
│ │ └── varargParam.kt
│ ├── escapeAnalysis
│ │ ├── recursion.kt
│ │ ├── test1.kt
│ │ ├── test10.kt
│ │ ├── test11.kt
│ │ ├── test12.kt
│ │ ├── test13.kt
│ │ ├── test2.kt
│ │ ├── test3.kt
│ │ ├── test4.kt
│ │ ├── test5.kt
│ │ ├── test6.kt
│ │ ├── test7.kt
│ │ ├── test8.kt
│ │ ├── test9.kt
│ │ └── zeroOutObjectOnAlloc.kt
│ ├── funInterface
│ │ ├── implIsNotFunction.kt
│ │ ├── kt43887.kt
│ │ └── nonTrivialProjectionInSuperType.kt
│ ├── function
│ │ ├── arithmetic.kt
│ │ ├── boolean.kt
│ │ ├── defaults.kt
│ │ ├── defaults1.kt
│ │ ├── defaults10.kt
│ │ ├── defaults2.kt
│ │ ├── defaults3.kt
│ │ ├── defaults4.kt
│ │ ├── defaults5.kt
│ │ ├── defaults6.kt
│ │ ├── defaults7.kt
│ │ ├── defaults8.kt
│ │ ├── defaults9.kt
│ │ ├── defaultsFromFakeOverride.kt
│ │ ├── defaultsWithInlineClasses.kt
│ │ ├── defaultsWithVarArg1.kt
│ │ ├── defaultsWithVarArg2.kt
│ │ ├── eqeq.kt
│ │ ├── extension.kt
│ │ ├── intrinsic.kt
│ │ ├── localFunction.kt
│ │ ├── localFunction2.kt
│ │ ├── localFunction3.kt
│ │ ├── minus_eq.kt
│ │ ├── named.kt
│ │ ├── plus_eq.kt
│ │ ├── referenceBigArity.kt
│ │ ├── sum.kt
│ │ ├── sum_3const.kt
│ │ ├── sum_foo_bar.kt
│ │ ├── sum_func.kt
│ │ ├── sum_imm.kt
│ │ ├── sum_mixed.kt
│ │ └── sum_silly.kt
│ ├── initializers
│ │ ├── correctOrder1.kt
│ │ ├── correctOrder2.kt
│ │ ├── linkTest1_lib.kt
│ │ ├── linkTest1_main.kt
│ │ ├── linkTest2_lib.kt
│ │ ├── linkTest2_main.kt
│ │ ├── sharedVarInInitBlock_lib.kt
│ │ └── sharedVarInInitBlock_main.kt
│ ├── inline
│ │ ├── changingCapturedLocal.kt
│ │ ├── classDeclarationInsideInline.kt
│ │ ├── coercionToUnit.kt
│ │ ├── correctOrderFunctionReference.kt
│ │ ├── defaultArgs.kt
│ │ ├── defaultArgs_linkTest_lib.kt
│ │ ├── defaultArgs_linkTest_main.kt
│ │ ├── genericFunctionReference.kt
│ │ ├── getClass.kt
│ │ ├── inline0.kt
│ │ ├── inline1.kt
│ │ ├── inline10.kt
│ │ ├── inline11.kt
│ │ ├── inline12.kt
│ │ ├── inline13.kt
│ │ ├── inline14.kt
│ │ ├── inline15.kt
│ │ ├── inline16.kt
│ │ ├── inline17.kt
│ │ ├── inline18.kt
│ │ ├── inline19.kt
│ │ ├── inline2.kt
│ │ ├── inline20.kt
│ │ ├── inline21.kt
│ │ ├── inline22.kt
│ │ ├── inline23.kt
│ │ ├── inline24.kt
│ │ ├── inline25.kt
│ │ ├── inline26.kt
│ │ ├── inline3.kt
│ │ ├── inline4.kt
│ │ ├── inline5.kt
│ │ ├── inline6.kt
│ │ ├── inline7.kt
│ │ ├── inline8.kt
│ │ ├── inline9.kt
│ │ ├── inlineCtor_linkTest_lib.kt
│ │ ├── inlineCtor_linkTest_main.kt
│ │ ├── lambdaAsAny.kt
│ │ ├── lambdaInDefaultValue.kt
│ │ ├── lateinitProperty_linkTest_lib.kt
│ │ ├── lateinitProperty_linkTest_main.kt
│ │ ├── localFunctionInInitializerBlock.kt
│ │ ├── localObjectReturnedFromWhen.kt
│ │ ├── propertyAccessorInline.kt
│ │ ├── returnLocalClassFromBlock.kt
│ │ ├── sharedVar_linkTest_lib.kt
│ │ ├── sharedVar_linkTest_main.kt
│ │ ├── statementAsLastExprInBlock.kt
│ │ ├── twiceInlinedObject.kt
│ │ └── typeSubstitutionInFakeOverride.kt
│ ├── inlineClass
│ │ ├── customEquals.kt
│ │ ├── defaultEquals.kt
│ │ ├── inlineClass0.kt
│ │ ├── nestedInlineClasses.kt
│ │ ├── secondaryConstructorWithGenerics.kt
│ │ └── valueClass0.kt
│ ├── innerClass
│ │ ├── doubleInner.kt
│ │ ├── generic.kt
│ │ ├── getOuterVal.kt
│ │ ├── linkTest_lib.kt
│ │ ├── linkTest_main.kt
│ │ ├── noPrimaryConstructor.kt
│ │ ├── qualifiedThis.kt
│ │ ├── secondaryConstructor.kt
│ │ ├── simple.kt
│ │ └── superOuter.kt
│ ├── interfaceCallsNCasts
│ │ └── conservativeItable.kt
│ ├── intrinsics
│ │ ├── interop_convert.kt
│ │ └── interop_sourceCodeStruct.kt
│ ├── kclass
│ │ ├── kClassEnumArgument.kt
│ │ ├── kclass0.kt
│ │ └── kclass1.kt
│ ├── ktype
│ │ ├── ktype1.kt
│ │ └── nonReified.kt
│ ├── lambda
│ │ ├── lambda1.kt
│ │ ├── lambda10.kt
│ │ ├── lambda11.kt
│ │ ├── lambda12.kt
│ │ ├── lambda13.kt
│ │ ├── lambda14.kt
│ │ ├── lambda2.kt
│ │ ├── lambda3.kt
│ │ ├── lambda4.kt
│ │ ├── lambda5.kt
│ │ ├── lambda6.kt
│ │ ├── lambda7.kt
│ │ ├── lambda8.kt
│ │ └── lambda9.kt
│ ├── lateinit
│ │ ├── globalIsInitialized.kt
│ │ ├── inBaseClass.kt
│ │ ├── initialized.kt
│ │ ├── innerIsInitialized.kt
│ │ ├── isInitialized.kt
│ │ ├── localCapturedInitialized.kt
│ │ ├── localCapturedNotInitialized.kt
│ │ ├── localInitialized.kt
│ │ ├── localNotInitialized.kt
│ │ └── notInitialized.kt
│ ├── localClass
│ │ ├── innerTakesCapturedFromOuter.kt
│ │ ├── innerWithCapture.kt
│ │ ├── localFunctionCallFromLocalClass.kt
│ │ ├── localFunctionInLocalClass.kt
│ │ ├── localHierarchy.kt
│ │ ├── noPrimaryConstructor.kt
│ │ ├── objectExpressionInInitializer.kt
│ │ ├── objectExpressionInProperty.kt
│ │ ├── tryCatch.kt
│ │ └── virtualCallFromConstructor.kt
│ ├── localEscapeAnalysis
│ │ └── arraysFieldWrite.kt
│ ├── mpp
│ │ ├── libmpp2.kt
│ │ ├── mpp1.kt
│ │ ├── mpp2.kt
│ │ ├── mpp_default_args.kt
│ │ └── mpp_optional_expectation.kt
│ ├── object
│ │ ├── constructor.kt
│ │ ├── constructor0.kt
│ │ ├── fields.kt
│ │ ├── fields1.kt
│ │ ├── fields2.kt
│ │ ├── globalInitializer.kt
│ │ ├── init0.kt
│ │ ├── initialization.kt
│ │ ├── initialization1.kt
│ │ └── method_call.kt
│ ├── objectExpression
│ │ ├── expr1.kt
│ │ ├── expr2.kt
│ │ └── expr3.kt
│ ├── propertyCallableReference
│ │ ├── dynamicReceiver.kt
│ │ ├── linkTest_lib.kt
│ │ ├── linkTest_main.kt
│ │ ├── valClass.kt
│ │ ├── valExtension.kt
│ │ ├── valModule.kt
│ │ ├── varClass.kt
│ │ ├── varExtension.kt
│ │ └── varModule.kt
│ ├── stringTrim
│ │ └── stringTrim.kt
│ └── try
│ │ ├── catch3.kt
│ │ ├── catch4.kt
│ │ ├── catch5.kt
│ │ ├── catch6.kt
│ │ ├── catch8.kt
│ │ ├── finally1.kt
│ │ ├── finally10.kt
│ │ ├── finally11.kt
│ │ ├── finally2.kt
│ │ ├── finally3.kt
│ │ ├── finally4.kt
│ │ ├── finally5.kt
│ │ ├── finally6.kt
│ │ ├── finally7.kt
│ │ ├── finally8.kt
│ │ ├── finally9.kt
│ │ ├── returnsDifferentTypes.kt
│ │ ├── try1.kt
│ │ ├── try2.kt
│ │ ├── try3.kt
│ │ └── try4.kt
│ ├── compilerChecks
│ ├── README.md
│ ├── t1.kt
│ ├── t10.kt
│ ├── t11.kt
│ ├── t12.kt
│ ├── t13.kt
│ ├── t14.kt
│ ├── t15.kt
│ ├── t16.kt
│ ├── t17.kt
│ ├── t18.kt
│ ├── t2.kt
│ ├── t20.kt
│ ├── t21.kt
│ ├── t22.kt
│ ├── t23.kt
│ ├── t24.kt
│ ├── t25.kt
│ ├── t26.kt
│ ├── t27.kt
│ ├── t28.kt
│ ├── t29.kt
│ ├── t3.kt
│ ├── t30.kt
│ ├── t31.kt
│ ├── t32.kt
│ ├── t33.kt
│ ├── t34.kt
│ ├── t35.kt
│ ├── t36.kt
│ ├── t37.kt
│ ├── t38.kt
│ ├── t4.kt
│ ├── t40.kt
│ ├── t41.kt
│ ├── t42.kt
│ ├── t43.kt
│ ├── t44.kt
│ ├── t45.kt
│ ├── t46.kt
│ ├── t47.kt
│ ├── t48.kt
│ ├── t49.kt
│ ├── t5.kt
│ ├── t50.kt
│ ├── t51.kt
│ ├── t52.kt
│ ├── t53.kt
│ ├── t54.kt
│ ├── t55.kt
│ ├── t56.kt
│ ├── t57.kt
│ ├── t58.kt
│ ├── t59.kt
│ ├── t6.kt
│ ├── t60.kt
│ ├── t7.kt
│ ├── t8.kt
│ └── t9.kt
│ ├── coverage
│ └── basic
│ │ ├── controlflow
│ │ └── main.kt
│ │ ├── jumps
│ │ └── main.kt
│ │ ├── library
│ │ ├── library.kt
│ │ └── main.kt
│ │ ├── program
│ │ └── main.kt
│ │ ├── smoke0
│ │ └── smoke0.kt
│ │ └── smoke1
│ │ └── smoke1.kt
│ ├── datagen
│ ├── literals
│ │ ├── empty_string.kt
│ │ ├── listof1.kt
│ │ ├── strdedup1.kt
│ │ └── strdedup2.kt
│ └── rtti
│ │ ├── abstract_super.kt
│ │ ├── vtable1.kt
│ │ └── vtable_any.kt
│ ├── debugger
│ └── src
│ │ └── test
│ │ └── kotlin
│ │ └── org
│ │ └── jetbrains
│ │ └── kotlin
│ │ └── native
│ │ └── test
│ │ └── debugger
│ │ ├── DistProperties.kt
│ │ ├── Driver.kt
│ │ ├── DwarfDumpParser.kt
│ │ ├── DwarfTests.kt
│ │ ├── LldbTests.kt
│ │ └── Matchers.kt
│ ├── extensions
│ └── nop
│ │ └── src
│ │ └── main
│ │ └── kotlin
│ │ └── org
│ │ └── jetbrains
│ │ └── konan
│ │ └── test
│ │ └── plugin
│ │ └── nop
│ │ └── NopPlugin.kt
│ ├── external
│ └── codegen
│ │ └── box
│ │ └── properties
│ │ └── lateinit
│ │ └── accessor.kt
│ ├── framework
│ ├── gh3343
│ │ ├── ktlib.kt
│ │ ├── objclib.def
│ │ ├── objclib.h
│ │ └── uselib.swift
│ ├── kt42397
│ │ ├── knlibrary.kt
│ │ └── test.swift
│ ├── kt43517
│ │ ├── kt43517.def
│ │ ├── kt43517.kt
│ │ └── kt43517.swift
│ ├── main.swift
│ ├── multiple
│ │ ├── framework1
│ │ │ ├── first.kt
│ │ │ └── test.kt
│ │ ├── framework2
│ │ │ ├── second.kt
│ │ │ └── test.kt
│ │ ├── multiple.swift
│ │ └── shared
│ │ │ └── shared.kt
│ ├── stdlib
│ │ ├── stdlib.kt
│ │ └── stdlib.swift
│ └── values_generics
│ │ ├── values.swift
│ │ └── values_generics.kt
│ ├── harmony_regex
│ ├── AllCodePointsTest.kt
│ ├── MatchResultTest.kt
│ ├── MatchResultTest2.kt
│ ├── ModeTest.kt
│ ├── PatternErrorTest.kt
│ ├── PatternSyntaxExceptionTest.kt
│ ├── PatternTest.kt
│ ├── PatternTest2.kt
│ ├── ReplaceTest.kt
│ └── SplitTest.kt
│ ├── interop
│ ├── auxiliary_sources
│ │ ├── auxiliaryCppSources.def
│ │ ├── main.kt
│ │ ├── name.cpp
│ │ └── name.h
│ ├── basics
│ │ ├── 0.kt
│ │ ├── 1.kt
│ │ ├── 2.kt
│ │ ├── 3.kt
│ │ ├── 4.kt
│ │ ├── 5.kt
│ │ ├── arrayPointers.kt
│ │ ├── bf.kt
│ │ ├── bitfields.def
│ │ ├── callbacksAndVarargs.kt
│ │ ├── carrayPointers.def
│ │ ├── ccallbacksAndVarargs.def
│ │ ├── cenums.def
│ │ ├── cfunptr.def
│ │ ├── cglobals.def
│ │ ├── cmacros.def
│ │ ├── cstdio.def
│ │ ├── cstructs.def
│ │ ├── ctoKString.def
│ │ ├── ctypes.def
│ │ ├── cunion.def
│ │ ├── cunsupported.def
│ │ ├── custom headers
│ │ │ └── custom.h
│ │ ├── cvalues.def
│ │ ├── cvectors.def
│ │ ├── echo_server.kt
│ │ ├── enums.kt
│ │ ├── funptr.kt
│ │ ├── globals.kt
│ │ ├── macros.kt
│ │ ├── mangling.def
│ │ ├── mangling.kt
│ │ ├── mangling2.def
│ │ ├── mangling2.kt
│ │ ├── mangling_keywords.def
│ │ ├── mangling_keywords.kt
│ │ ├── mangling_keywords2.def
│ │ ├── mangling_keywords2.kt
│ │ ├── opengl_teapot.kt
│ │ ├── pinning.kt
│ │ ├── sockets.def
│ │ ├── structs.kt
│ │ ├── toKString.kt
│ │ ├── typedefs.def
│ │ ├── types.kt
│ │ ├── unable_to_import.def
│ │ ├── union.kt
│ │ ├── unsupported.kt
│ │ ├── values.kt
│ │ ├── vectors.kt
│ │ └── withSpaces.kt
│ ├── cleaners
│ │ ├── cleaners.kt
│ │ ├── leak.cpp
│ │ ├── main_thread.cpp
│ │ └── second_thread.cpp
│ ├── concurrentTerminate
│ │ ├── async.cpp
│ │ ├── async.h
│ │ ├── concurrentTerminate.def
│ │ ├── main.cpp
│ │ ├── main.kt
│ │ └── reverseInterop.kt
│ ├── embedStaticLibraries
│ │ ├── 1.c
│ │ ├── 2.c
│ │ ├── 3.c
│ │ ├── 4.c
│ │ ├── embedStaticLibraries.def
│ │ ├── embedStaticLibraries.h
│ │ └── main.kt
│ ├── incomplete_types
│ │ ├── library.cpp
│ │ ├── library.def
│ │ ├── library.h
│ │ └── main.kt
│ ├── kt42397
│ │ ├── knlibrary.kt
│ │ └── test.cpp
│ ├── kt43265
│ │ ├── kt43265.def
│ │ └── usage.kt
│ ├── kt43502
│ │ ├── kt43502.c
│ │ ├── kt43502.def
│ │ ├── kt43502.h
│ │ ├── main.c
│ │ └── main.kt
│ ├── leakMemoryWithRunningThread
│ │ ├── checked.kt
│ │ ├── leakMemory.cpp
│ │ ├── leakMemory.def
│ │ ├── leakMemory.h
│ │ └── unchecked.kt
│ ├── libiconv.kt
│ ├── memory_leaks
│ │ ├── lib.kt
│ │ └── main.cpp
│ ├── migrating_main_thread
│ │ ├── lib.kt
│ │ └── main.cpp
│ ├── objc
│ │ ├── Localizable.stringsdict
│ │ ├── allocException.kt
│ │ ├── foreignException
│ │ │ ├── objcExceptionMode.def
│ │ │ ├── objcExceptionMode.kt
│ │ │ ├── objc_wrap.def
│ │ │ ├── objc_wrap.h
│ │ │ ├── objc_wrap.kt
│ │ │ └── objc_wrap.m
│ │ ├── illegal_sharing.kt
│ │ ├── illegal_sharing_with_weak
│ │ │ ├── main.kt
│ │ │ ├── objclib.def
│ │ │ └── objclib.h
│ │ ├── kt34467
│ │ │ ├── foo.h
│ │ │ ├── foo.kt
│ │ │ ├── module_library.def
│ │ │ ├── module_library.modulemap
│ │ │ └── module_library_umbrella.h
│ │ ├── kt42172
│ │ │ ├── main.kt
│ │ │ ├── objclib.def
│ │ │ ├── objclib.h
│ │ │ └── objclib.m
│ │ ├── msg_send
│ │ │ ├── main.kt
│ │ │ ├── messaging.def
│ │ │ ├── messaging.h
│ │ │ └── messaging.m
│ │ ├── objcSmoke.def
│ │ ├── objcTests.def
│ │ ├── smoke.h
│ │ ├── smoke.kt
│ │ ├── smoke.m
│ │ └── tests
│ │ │ ├── KT37067_prefix.h
│ │ │ ├── KT37067_prefix.kt
│ │ │ ├── KT37067_prefix.m
│ │ │ ├── KT38234_override.h
│ │ │ ├── KT38234_override.kt
│ │ │ ├── KT38234_override.m
│ │ │ ├── allocNoRetain.h
│ │ │ ├── allocNoRetain.kt
│ │ │ ├── allocNoRetain.m
│ │ │ ├── blocks.h
│ │ │ ├── blocks.kt
│ │ │ ├── blocks.m
│ │ │ ├── callableReferences.h
│ │ │ ├── callableReferences.kt
│ │ │ ├── callableReferences.m
│ │ │ ├── clashingWithAny.h
│ │ │ ├── clashingWithAny.kt
│ │ │ ├── clashingWithAny.m
│ │ │ ├── constructorReturnsNull.h
│ │ │ ├── constructorReturnsNull.kt
│ │ │ ├── constructorReturnsNull.m
│ │ │ ├── conversions.kt
│ │ │ ├── customString.h
│ │ │ ├── customString.kt
│ │ │ ├── customString.m
│ │ │ ├── exceptions.h
│ │ │ ├── exceptions.kt
│ │ │ ├── exceptions.m
│ │ │ ├── initWithCustomSelector.h
│ │ │ ├── initWithCustomSelector.kt
│ │ │ ├── initWithCustomSelector.m
│ │ │ ├── kt36766.h
│ │ │ ├── kt36766.kt
│ │ │ ├── kt41811.h
│ │ │ ├── kt41811.kt
│ │ │ ├── kt41811.m
│ │ │ ├── kt42482.h
│ │ │ ├── kt42482.kt
│ │ │ ├── kt42482.m
│ │ │ ├── main.kt
│ │ │ ├── mangling.h
│ │ │ ├── mangling.kt
│ │ │ ├── mangling.m
│ │ │ ├── multipleInheritanceClash.h
│ │ │ ├── multipleInheritanceClash.kt
│ │ │ ├── multipleInheritanceClash.m
│ │ │ ├── nsOutputStream.kt
│ │ │ ├── objcWeakRefs.h
│ │ │ ├── objcWeakRefs.kt
│ │ │ ├── objcWeakRefs.m
│ │ │ ├── overrideInit.h
│ │ │ ├── overrideInit.kt
│ │ │ ├── overrideInit.m
│ │ │ ├── sharing.kt
│ │ │ ├── structWithNSObject.h
│ │ │ ├── structWithNSObject.kt
│ │ │ ├── tryRetainGC.h
│ │ │ ├── tryRetainGC.kt
│ │ │ ├── tryRetainGC.m
│ │ │ ├── utils.kt
│ │ │ ├── varargs.h
│ │ │ ├── varargs.kt
│ │ │ ├── varargs.m
│ │ │ ├── weakRefs.h
│ │ │ ├── weakRefs.kt
│ │ │ ├── workerAutoreleasePool.h
│ │ │ ├── workerAutoreleasePool.kt
│ │ │ └── workerAutoreleasePool.m
│ ├── objc_with_initializer
│ │ ├── objc_misc.def
│ │ ├── objc_misc.h
│ │ ├── objc_misc.m
│ │ └── objc_test.kt
│ └── platform_zlib.kt
│ ├── iosLauncher
│ ├── .gitignore
│ ├── KonanTestLauncher.xcodeproj
│ │ ├── project.pbxproj
│ │ └── project.xcworkspace
│ │ │ ├── contents.xcworkspacedata
│ │ │ └── xcshareddata
│ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ └── WorkspaceSettings.xcsettings
│ └── KonanTestLauncher
│ │ ├── Assets.xcassets
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ │ ├── Base.lproj
│ │ ├── LaunchScreen.storyboard
│ │ └── Main.storyboard
│ │ └── Info.plist
│ ├── jsinterop
│ └── math.kt
│ ├── link
│ ├── default
│ │ └── default.kt
│ ├── fake_overrides
│ │ ├── base.kt
│ │ ├── main.kt
│ │ ├── move.kt
│ │ ├── move2.kt
│ │ └── use.kt
│ ├── ir_providers
│ │ ├── hello.kt
│ │ └── library
│ │ │ ├── empty.kt
│ │ │ └── manifest.properties
│ ├── lib
│ │ ├── foo.kt
│ │ └── foo2.kt
│ ├── omit
│ │ ├── hello.kt
│ │ └── lib.kt
│ ├── private_fake_overrides
│ │ ├── inherit_lib.kt
│ │ ├── inherit_main.kt
│ │ ├── override_lib.kt
│ │ └── override_main.kt
│ ├── purge1
│ │ ├── lib.kt
│ │ └── prog.kt
│ ├── src
│ │ └── bar.kt
│ └── versioning
│ │ ├── empty.kt
│ │ └── hello.kt
│ ├── lower
│ ├── immutable_blob_in_lambda.kt
│ ├── local_delegated_property_link
│ │ ├── lib.kt
│ │ └── main.kt
│ ├── tailrec.kt
│ ├── vararg.kt
│ └── vararg_of_literals.kt
│ ├── mangling
│ ├── mangling.kt
│ └── manglinglib.kt
│ ├── objcexport
│ ├── coroutines.kt
│ ├── coroutines.swift
│ ├── deallocRetain.kt
│ ├── deallocRetain.swift
│ ├── enumValues.kt
│ ├── enumValues.swift
│ ├── expectedLazy.h
│ ├── expectedLazyNoGenerics.h
│ ├── funInterfaces.kt
│ ├── funInterfaces.swift
│ ├── functionalTypes.kt
│ ├── functionalTypes.swift
│ ├── gh4002.kt
│ ├── gh4002.swift
│ ├── headerWarnings.kt
│ ├── headerWarnings.swift
│ ├── kt35940.kt
│ ├── kt35940.swift
│ ├── kt38641.kt
│ ├── kt38641.swift
│ ├── kt39206.kt
│ ├── kt39206.swift
│ ├── kt41907.kt
│ ├── kt41907.swift
│ ├── kt43599.kt
│ ├── kt43599.swift
│ ├── library.kt
│ ├── library.swift
│ ├── library
│ │ └── library.kt
│ ├── localEA.kt
│ ├── localEA.swift
│ ├── overrideKotlinMethods.kt
│ ├── overrideKotlinMethods.swift
│ ├── overrideMethodsOfAny.kt
│ ├── overrideMethodsOfAny.swift
│ ├── throwsEmpty.kt
│ ├── topLevelMangling.swift
│ ├── topLevelManglingA.kt
│ ├── topLevelManglingB.kt
│ ├── values.kt
│ ├── values.swift
│ ├── variance.kt
│ └── variance.swift
│ ├── produce_dynamic
│ ├── kt-36639
│ │ ├── main.c
│ │ └── main.kt
│ └── simple
│ │ ├── hello.kt
│ │ └── main.c
│ ├── runtime
│ ├── basic
│ │ ├── args0.kt
│ │ ├── assert_failed.kt
│ │ ├── assert_passed.kt
│ │ ├── cleaner_basic.kt
│ │ ├── cleaner_in_main_with_checker.kt
│ │ ├── cleaner_in_main_without_checker.kt
│ │ ├── cleaner_in_tls_main_with_checker.kt
│ │ ├── cleaner_in_tls_main_without_checker.kt
│ │ ├── cleaner_in_tls_worker.kt
│ │ ├── cleaner_leak_with_checker.kt
│ │ ├── cleaner_leak_without_checker.kt
│ │ ├── cleaner_workers.kt
│ │ ├── driver0.kt
│ │ ├── empty_substring.kt
│ │ ├── entry0.kt
│ │ ├── entry1.kt
│ │ ├── entry2.kt
│ │ ├── entry4.kt
│ │ ├── enum_equals.kt
│ │ ├── exit.kt
│ │ ├── for0.kt
│ │ ├── hash0.kt
│ │ ├── hello0.kt
│ │ ├── hello1.kt
│ │ ├── hello2.kt
│ │ ├── hello3.kt
│ │ ├── hello4.kt
│ │ ├── hypot.kt
│ │ ├── ieee754.kt
│ │ ├── init.kt
│ │ ├── initializers0.kt
│ │ ├── initializers1.kt
│ │ ├── initializers2.kt
│ │ ├── initializers3.kt
│ │ ├── initializers4.kt
│ │ ├── initializers5.kt
│ │ ├── initializers6.kt
│ │ ├── initializers7.kt
│ │ ├── initializers8.kt
│ │ ├── interface0.kt
│ │ ├── libentry2.kt
│ │ ├── main_exception.kt
│ │ ├── random.kt
│ │ ├── readline0.kt
│ │ ├── readline1.kt
│ │ ├── simd.kt
│ │ ├── standard.kt
│ │ ├── statements0.kt
│ │ ├── throw0.kt
│ │ ├── tostring0.kt
│ │ ├── tostring1.kt
│ │ ├── tostring2.kt
│ │ ├── tostring3.kt
│ │ └── worker_random.kt
│ ├── collections
│ │ ├── AbstractMutableCollection.kt
│ │ ├── BitSet.kt
│ │ ├── SortWith.kt
│ │ ├── array0.kt
│ │ ├── array1.kt
│ │ ├── array2.kt
│ │ ├── array3.kt
│ │ ├── array4.kt
│ │ ├── array5.kt
│ │ ├── array_list1.kt
│ │ ├── array_list2.kt
│ │ ├── hash_map0.kt
│ │ ├── hash_map1.kt
│ │ ├── hash_set0.kt
│ │ ├── listof0.kt
│ │ ├── moderately_large_array.kt
│ │ ├── moderately_large_array1.kt
│ │ ├── range0.kt
│ │ ├── sort0.kt
│ │ ├── sort1.kt
│ │ ├── stack_array.kt
│ │ ├── typed_array0.kt
│ │ └── typed_array1.kt
│ ├── concurrent
│ │ └── worker_bound_reference0.kt
│ ├── exceptions
│ │ ├── catch1.kt
│ │ ├── catch2.kt
│ │ ├── catch7.kt
│ │ ├── check_stacktrace_format.kt
│ │ ├── custom_hook.kt
│ │ ├── exception_in_global_init.kt
│ │ ├── extend0.kt
│ │ ├── kt-37572.kt
│ │ ├── rethrow.kt
│ │ ├── stack_trace_inline.kt
│ │ └── throw_from_catch.kt
│ ├── memory
│ │ ├── basic0.kt
│ │ ├── cycle_collector.kt
│ │ ├── cycle_collector_deadlock1.kt
│ │ ├── cycle_detector.kt
│ │ ├── cycles0.kt
│ │ ├── cycles1.kt
│ │ ├── escape0.kt
│ │ ├── escape1.kt
│ │ ├── escape2.kt
│ │ ├── leak_memory.kt
│ │ ├── leak_memory_test_runner.kt
│ │ ├── only_gc.kt
│ │ ├── stable_ref_cross_thread_check.kt
│ │ ├── throw_cleanup.kt
│ │ ├── var1.kt
│ │ ├── var2.kt
│ │ ├── var3.kt
│ │ ├── var4.kt
│ │ ├── weak0.kt
│ │ └── weak1.kt
│ ├── text
│ │ ├── chars0.kt
│ │ ├── indexof.kt
│ │ ├── parse0.kt
│ │ ├── string0.kt
│ │ ├── string_builder0.kt
│ │ ├── string_builder1.kt
│ │ ├── to_string0.kt
│ │ ├── trim.kt
│ │ └── utf8.kt
│ └── workers
│ │ ├── atomic0.kt
│ │ ├── atomic1.kt
│ │ ├── enum_identity.kt
│ │ ├── freeze0.kt
│ │ ├── freeze1.kt
│ │ ├── freeze2.kt
│ │ ├── freeze3.kt
│ │ ├── freeze4.kt
│ │ ├── freeze5.kt
│ │ ├── freeze6.kt
│ │ ├── freeze_stress.kt
│ │ ├── lazy0.kt
│ │ ├── lazy1.kt
│ │ ├── lazy2.kt
│ │ ├── lazy3.kt
│ │ ├── leak_memory_with_worker_termination.kt
│ │ ├── leak_worker.kt
│ │ ├── mutableData1.kt
│ │ ├── worker0.kt
│ │ ├── worker1.kt
│ │ ├── worker10.kt
│ │ ├── worker11.kt
│ │ ├── worker2.kt
│ │ ├── worker3.kt
│ │ ├── worker4.kt
│ │ ├── worker5.kt
│ │ ├── worker6.kt
│ │ ├── worker7.kt
│ │ ├── worker8.kt
│ │ ├── worker9.kt
│ │ └── worker_threadlocal_no_leak.kt
│ ├── serialization
│ ├── catch.kt
│ ├── char_const.kt
│ ├── default_args.kt
│ ├── deserialize_members.kt
│ ├── deserialized_fields.kt
│ ├── deserialized_inline0.kt
│ ├── deserialized_listof0.kt
│ ├── do_while.kt
│ ├── enum_ordinal
│ │ ├── library.kt
│ │ └── main.kt
│ ├── prop.kt
│ ├── regression
│ │ └── no_type_map.kt
│ ├── serialize_members.kt
│ ├── use.kt
│ ├── use_char_const.kt
│ └── vararg.kt
│ ├── stdlib_external
│ ├── collections
│ │ └── KT42428Test.kt
│ ├── jsCollectionFactoriesActuals.kt
│ ├── numbers
│ │ ├── HarmonyMathTests.kt
│ │ ├── MathExceptionTest.kt
│ │ └── MathTest.kt
│ ├── text
│ │ ├── CharNativeTest.kt
│ │ ├── StringEncodingTestNative.kt
│ │ ├── StringNativeTest.kt
│ │ ├── _IsCaseIgnorableTest.kt
│ │ └── _IsCasedTest.kt
│ └── utils.kt
│ ├── teamcity-test.property
│ ├── testLibrary
│ └── kotlin
│ │ └── test_platform_lib.kt
│ └── testing
│ ├── annotations.kt
│ ├── assertions.kt
│ ├── custom_main.kt
│ ├── filtered_suites.kt
│ ├── filters.kt
│ ├── library.kt
│ ├── library_user.kt
│ └── stacktrace.kt
├── build-tools
├── build.gradle.kts
├── settings.gradle.kts
└── src
│ └── main
│ ├── groovy
│ └── org
│ │ └── jetbrains
│ │ └── kotlin
│ │ ├── KonanTest.groovy
│ │ └── NativeInteropPlugin.groovy
│ └── kotlin
│ └── org
│ └── jetbrains
│ └── kotlin
│ ├── BenchmarkRepeatingType.kt
│ ├── BuildRegister.kt
│ ├── CacheTesting.kt
│ ├── CollisionDetector.kt
│ ├── CollisionTransformer.kt
│ ├── CompareDistributionSignatures.kt
│ ├── CompilationDatabase.kt
│ ├── CopyCommonSources.kt
│ ├── CopySamples.kt
│ ├── CoverageTest.kt
│ ├── EndorsedLibraryInfo.kt
│ ├── ExecClang.kt
│ ├── ExecLlvm.kt
│ ├── ExecutorService.kt
│ ├── ExternalReportUtils.kt
│ ├── FrameworkTest.kt
│ ├── Internals.kt
│ ├── KLibInstall.kt
│ ├── KonanTestExecutable.kt
│ ├── KonanTestSuiteReport.kt
│ ├── KotlinBuildPusher.kt
│ ├── KotlinNativeTest.kt
│ ├── LlvmCovReport.kt
│ ├── MPPTools.kt
│ ├── MetadataComparisonTest.kt
│ ├── MultiModule.kt
│ ├── PlatformInfo.kt
│ ├── PropertiesProvider.kt
│ ├── RegressionsReporter.kt
│ ├── RegressionsSummaryReporter.kt
│ ├── Reporter.kt
│ ├── RunJvmTask.kt
│ ├── RunKotlinNativeTask.kt
│ ├── TestDirectives.kt
│ ├── Utils.kt
│ ├── Wrappers.kt
│ ├── XcRunRuntimeUtils.kt
│ ├── benchmark
│ ├── BenchmarkLogger.kt
│ ├── BenchmarkingPlugin.kt
│ ├── CompileBenchmarkingPlugin.kt
│ ├── KotlinNativeBenchmarkingPlugin.kt
│ └── SwiftBenchmarkingPlugin.kt
│ ├── bitcode
│ ├── CompileToBitcode.kt
│ └── CompileToBitcodePlugin.kt
│ ├── coroutineTestUtil.kt
│ ├── genTestKT39548.kt
│ ├── klib
│ └── metadata
│ │ ├── KmComparator.kt
│ │ ├── KmComparatorUtils.kt
│ │ ├── SortedMergeStrategy.kt
│ │ ├── TrivialLibraryProvider.kt
│ │ └── comparison.kt
│ ├── testing
│ └── native
│ │ ├── GitDownloadTask.kt
│ │ ├── NativeTest.kt
│ │ └── RuntimeTestingPlugin.kt
│ └── utils
│ └── DFS.kt
├── build.gradle
├── cmd
├── cinterop
├── cinterop.bat
├── generate-platform
├── generate-platform.bat
├── jsinterop
├── jsinterop.bat
├── klib
├── klib.bat
├── konan-lldb
├── konanc
├── konanc.bat
├── kotlinc
├── kotlinc-native
├── kotlinc-native.bat
├── kotlinc.bat
├── run_konan
└── run_konan.bat
├── codestyle
└── cpp
│ ├── CLionFormat.xml
│ └── README.md
├── common
├── build.gradle.kts
└── src
│ ├── files
│ ├── cpp
│ │ └── Files.cpp
│ └── headers
│ │ └── Files.h
│ └── hash
│ ├── cpp
│ ├── Base64.cpp
│ ├── City.cpp
│ ├── Names.cpp
│ └── Sha1.cpp
│ └── headers
│ ├── Base64.h
│ ├── City.h
│ ├── Names.h
│ └── Sha1.h
├── dependencies
└── build.gradle
├── dependencyPacker
├── build.gradle.kts
├── linux_llvm_blacklist
├── linux_llvm_whitelist
├── macos_llvm_whitelist
├── mingw_llvm_blacklist
└── mingw_llvm_whitelist
├── endorsedLibraries
├── build.gradle
└── kotlinx.cli
│ ├── build.gradle
│ ├── gradle.properties
│ └── src
│ ├── main
│ ├── kotlin-js
│ │ └── kotlinx.cli
│ │ │ └── Utils.kt
│ ├── kotlin-jvm
│ │ └── kotlinx
│ │ │ └── cli
│ │ │ └── nonStdlibUtils.kt
│ ├── kotlin-native
│ │ └── kotlinx
│ │ │ └── cli
│ │ │ └── Utils.kt
│ └── kotlin
│ │ └── kotlinx
│ │ └── cli
│ │ ├── ArgParser.kt
│ │ ├── ArgType.kt
│ │ ├── ArgumentValues.kt
│ │ ├── Arguments.kt
│ │ ├── Descriptors.kt
│ │ ├── ExperimentalCli.kt
│ │ └── Options.kt
│ └── tests
│ ├── ArgumentsTests.kt
│ ├── DataSourceEnum.kt
│ ├── ErrorTests.kt
│ ├── HelpTests.kt
│ ├── OptionsTests.kt
│ └── SubcommandsTests.kt
├── gradle.properties
├── gradle
├── kotlinGradlePlugin.gradle
├── loadRootProperties.gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── klib
├── build.gradle
└── src
│ ├── main
│ └── kotlin
│ │ └── org
│ │ └── jetbrains
│ │ └── kotlin
│ │ └── cli
│ │ └── klib
│ │ ├── DeclarationHeaderRenderer.kt
│ │ ├── DeclarationPrinter.kt
│ │ ├── DefaultDeclarationHeaderRenderer.kt
│ │ ├── DefaultIdSignatureRenderer.kt
│ │ ├── IdSignatureRenderer.kt
│ │ ├── SignaturePrinter.kt
│ │ └── main.kt
│ └── test
│ ├── kotlin
│ └── org
│ │ └── jetbrains
│ │ └── kotlin
│ │ └── cli
│ │ └── klib
│ │ └── test
│ │ └── ContentsTest.kt
│ └── testData
│ ├── Accessors.kt
│ ├── Classes.kt
│ ├── Constructors.kt
│ ├── Enum.kt
│ ├── FunctionModifiers.kt
│ ├── MethodModality.kt
│ ├── Objects.kt
│ ├── TopLevelFunctions.kt
│ ├── TopLevelPropertiesCustomPackage.kt
│ ├── TopLevelPropertiesRootPackage.kt
│ ├── TopLevelPropertiesWithClassesCustomPackage.kt
│ └── TopLevelPropertiesWithClassesRootPackage.kt
├── konan
├── konan.properties
└── platforms
│ └── zephyr
│ └── stm32f4_disco
├── libclangext
├── build.gradle
└── src
│ └── main
│ ├── cpp
│ ├── ClangExt.cpp
│ └── ExtVector.cpp
│ └── include
│ └── clang-c
│ ├── ExtVector.h
│ └── ext.h
├── licenses
├── LICENSE.txt
├── NOTICE.txt
└── third_party
│ ├── args4j_LICENSE.txt
│ ├── asm_license.txt
│ ├── boost_LICENSE.txt
│ ├── closure-compiler_LICENSE.txt
│ ├── dart_LICENSE.txt
│ ├── glibc_license.txt
│ ├── harmony_LICENSE.txt
│ ├── jshashtable_license.txt
│ ├── json_LICENSE.txt
│ ├── libffi_license.txt
│ ├── llvm_license.txt
│ ├── maven_LICENSE.txt
│ ├── mimalloc_LICENSE.txt
│ ├── pcollections_LICENSE.txt
│ ├── prototype_license.txt
│ ├── rhino_LICENSE.txt
│ ├── scala_license.txt
│ ├── sdl_license.txt
│ ├── trove_license.txt
│ ├── trove_readme_license.txt
│ ├── unicode_LICENSE.txt
│ ├── xcode_license.pdf
│ ├── zephyr_LICENSE.txt
│ └── zlib_license.txt
├── llvmCoverageMappingC
├── build.gradle
└── src
│ └── main
│ ├── cpp
│ └── CoverageMappingC.cpp
│ └── include
│ └── CoverageMappingC.h
├── llvmDebugInfoC
├── build.gradle
└── src
│ ├── dwarf
│ └── include
│ │ └── dwarf_util.kt.pp
│ ├── main
│ ├── cpp
│ │ └── DebugInfoC.cpp
│ └── include
│ │ └── DebugInfoC.h
│ └── scripts
│ └── konan_lldb.py
├── performance
├── KotlinVsSwift
│ ├── build.gradle
│ └── ring
│ │ ├── build.gradle.kts
│ │ ├── gradle.properties
│ │ └── src
│ │ ├── AbstractMethodBenchmark.swift
│ │ ├── CallsBenchmark.swift
│ │ ├── CastsBenchmark.swift
│ │ ├── ClassArrayBenchmark.swift
│ │ ├── ClassBaselineBenchmark.swift
│ │ ├── ClassListBenchmark.swift
│ │ ├── ClassStreamBenchmark.swift
│ │ ├── CompanionObjectBenchmark.swift
│ │ ├── CoordinatesSolver.swift
│ │ ├── Data.swift
│ │ ├── DefaultArgumentBenchmark.swift
│ │ ├── ElvisBenchmark.swift
│ │ ├── EulerBenchmark.swift
│ │ ├── FibonacciBenchmark.swift
│ │ ├── ForLoopsBenchmark.swift
│ │ ├── GraphSolverBenchmark.swift
│ │ ├── InlineBenchmark.swift
│ │ ├── IntArrayBenchmark.swift
│ │ ├── IntBaselineBenchmark.swift
│ │ ├── IntStreamBenchmark.swift
│ │ ├── LambdaBenchmark.swift
│ │ ├── LoopBenchmark.swift
│ │ ├── MatrixMapBenchmark.swift
│ │ ├── OctoTest.swift
│ │ ├── ParameterNotNullAssertionBenchmark.swift
│ │ ├── PrimeListBenchmark.swift
│ │ ├── StringBenchmark.swift
│ │ ├── SwitchBenchmark.swift
│ │ ├── Utils.swift
│ │ ├── WithIndiciesBenchmark.swift
│ │ ├── main.swift
│ │ └── zdf_win.swift
├── build.gradle
├── cinterop
│ ├── build.gradle.kts
│ ├── gradle.properties
│ └── src
│ │ ├── main
│ │ ├── kotlin-jvm
│ │ │ └── org
│ │ │ │ └── jetbrains
│ │ │ │ └── cinteropBenchmarks
│ │ │ │ ├── structsBenchmark.kt
│ │ │ │ ├── structsProducedByMacrosBenchmark.kt
│ │ │ │ └── typesBenchmark.kt
│ │ ├── kotlin-native
│ │ │ └── org
│ │ │ │ └── jetbrains
│ │ │ │ └── cinteropBenchmarks
│ │ │ │ ├── structsBenchmark.kt
│ │ │ │ ├── structsProducedByMacrosBenchmark.kt
│ │ │ │ └── typesBenchmark.kt
│ │ └── kotlin
│ │ │ ├── main.kt
│ │ │ └── org
│ │ │ └── jetbrains
│ │ │ └── cinteropBenchmarks
│ │ │ ├── structsBenchmark.kt
│ │ │ ├── structsProducedByMacrosBenchmark.kt
│ │ │ └── typesBenchmark.kt
│ │ └── nativeInterop
│ │ └── cinterop
│ │ ├── macros.def
│ │ ├── struct.def
│ │ └── types.def
├── framework
│ ├── build.gradle
│ └── gradle.properties
├── gradle.properties
├── gradle
│ └── compileBenchmark.gradle
├── helloworld
│ ├── build.gradle.kts
│ ├── gradle.properties
│ └── src
│ │ └── main
│ │ └── kotlin
│ │ └── main.kt
├── numerical
│ ├── build.gradle.kts
│ ├── gradle.properties
│ └── src
│ │ ├── main
│ │ ├── kotlin-jvm
│ │ │ └── launcher.kt
│ │ ├── kotlin-native
│ │ │ └── launcher.kt
│ │ └── kotlin
│ │ │ ├── main.kt
│ │ │ └── pi.kt
│ │ └── nativeInterop
│ │ └── cinterop
│ │ ├── cinterop.def
│ │ ├── pi.c
│ │ └── pi.h
├── objcinterop
│ ├── build.gradle.kts
│ ├── gradle.properties
│ └── src
│ │ ├── main
│ │ ├── kotlin-jvm
│ │ │ └── org
│ │ │ │ └── jetbrains
│ │ │ │ └── objCInteropBenchmarks
│ │ │ │ └── complexNumbers.kt
│ │ ├── kotlin-native
│ │ │ └── org
│ │ │ │ └── jetbrains
│ │ │ │ └── objCinteropBenchmarks
│ │ │ │ └── complexNumbers.kt
│ │ └── kotlin
│ │ │ ├── main.kt
│ │ │ └── org
│ │ │ └── jetbrains
│ │ │ └── objCinteropBenchmarks
│ │ │ └── complexNumbers.kt
│ │ └── nativeInterop
│ │ └── cinterop
│ │ ├── classes.def
│ │ ├── complexNumbers.h
│ │ └── complexNumbers.m
├── ring
│ ├── build.gradle.kts
│ ├── gradle.properties
│ └── src
│ │ └── main
│ │ ├── kotlin-jvm
│ │ ├── FakeKonanNamespace.kt
│ │ ├── cleanup.kt
│ │ └── org
│ │ │ └── jetbrains
│ │ │ └── ring
│ │ │ └── UtilsJVM.kt
│ │ ├── kotlin-native
│ │ ├── cleanup.kt
│ │ └── org
│ │ │ └── jetbrains
│ │ │ └── ring
│ │ │ └── Utils.kt
│ │ └── kotlin
│ │ ├── cleanup.kt
│ │ ├── main.kt
│ │ └── org
│ │ └── jetbrains
│ │ └── ring
│ │ ├── AbstractMethodBenchmark.kt
│ │ ├── AllocationBenchmark.kt
│ │ ├── CallsBenchmark.kt
│ │ ├── CastsBenchmark.kt
│ │ ├── ClassArrayBenchmark.kt
│ │ ├── ClassBaselineBenchmark.kt
│ │ ├── ClassListBenchmark.kt
│ │ ├── ClassStreamBenchmark.kt
│ │ ├── CompanionObjectBenchmark.kt
│ │ ├── CoordinatesSolver.kt
│ │ ├── Data.kt
│ │ ├── DefaultArgumentBenchmark.kt
│ │ ├── ElvisBenchmark.kt
│ │ ├── EulerBenchmark.kt
│ │ ├── FibonacciBenchmark.kt
│ │ ├── ForLoopsBenchmark.kt
│ │ ├── GraphSolverBenchmark.kt
│ │ ├── InheritanceBenchmark.kt
│ │ ├── InlineBenchmark.kt
│ │ ├── IntArrayBenchmark.kt
│ │ ├── IntBaselineBenchmark.kt
│ │ ├── IntListBenchmark.kt
│ │ ├── IntStreamBenchmark.kt
│ │ ├── LambdaBenchmark.kt
│ │ ├── LinkedListWithAtomicsBenchmark.kt
│ │ ├── LocalObjectsBenchmark.kt
│ │ ├── LoopBenchmark.kt
│ │ ├── MatrixMapBenchmark.kt
│ │ ├── OctoTest
│ │ ├── basicTest.kt
│ │ └── ocTree.kt
│ │ ├── ParameterNotNullAssertionBenchmark.kt
│ │ ├── PrimeListBenchmark.kt
│ │ ├── SingletonBenchmark.kt
│ │ ├── StringBenchmark.kt
│ │ ├── SwitchBenchmark.kt
│ │ ├── Utils.kt
│ │ ├── WithIndiciesBenchmark.kt
│ │ └── zdf-win.kt
├── scripts
│ ├── linux_services.list
│ └── services.sh
├── settings.gradle
├── shared
│ └── src
│ │ └── main
│ │ ├── kotlin-jvm
│ │ └── org
│ │ │ └── jetbrains
│ │ │ └── benchmarksLauncher
│ │ │ └── Utils.kt
│ │ ├── kotlin-native
│ │ ├── common
│ │ │ └── org
│ │ │ │ └── jetbrains
│ │ │ │ └── benchmarksLauncher
│ │ │ │ └── Utils.kt
│ │ ├── mingw
│ │ │ └── org
│ │ │ │ └── jetbrains
│ │ │ │ └── benchmarksLauncher
│ │ │ │ └── Utils.kt
│ │ └── posix
│ │ │ └── org
│ │ │ └── jetbrains
│ │ │ └── benchmarksLauncher
│ │ │ └── Utils.kt
│ │ └── kotlin
│ │ └── org
│ │ └── jetbrains
│ │ └── benchmarksLauncher
│ │ ├── BenchmarksCollection.kt
│ │ ├── JsonReportCreator.kt
│ │ ├── SwiftLauncher.kt
│ │ ├── Utils.kt
│ │ └── launcher.kt
├── startup
│ ├── build.gradle.kts
│ ├── gradle.properties
│ └── src
│ │ └── main
│ │ └── kotlin
│ │ ├── main.kt
│ │ └── org
│ │ └── jetbrains
│ │ └── startup
│ │ └── SingletonInitBenchmark.kt
├── swiftinterop
│ ├── build.gradle.kts
│ ├── gradle.properties
│ ├── src
│ │ └── main
│ │ │ └── kotlin
│ │ │ └── org
│ │ │ └── jetbrains
│ │ │ ├── model
│ │ │ └── CityMap.kt
│ │ │ └── multigraph
│ │ │ └── Multigraph.kt
│ └── swiftSrc
│ │ ├── benchmarks.swift
│ │ └── main.swift
└── videoplayer
│ ├── build.gradle.kts
│ └── gradle.properties
├── platformLibs
├── build.gradle
└── src
│ └── platform
│ ├── android
│ ├── android.def
│ ├── builtin.def
│ ├── egl.def
│ ├── gles.def
│ ├── gles2.def
│ ├── gles3.def
│ ├── gles31.def
│ ├── glesCommon.def
│ ├── linux.def
│ ├── media.def
│ ├── omxal.def
│ ├── posix.def
│ ├── sles.def
│ └── zlib.def
│ ├── ios
│ ├── ARKit.def
│ ├── AVFoundation.def
│ ├── AVKit.def
│ ├── Accelerate.def
│ ├── Accessibility.def
│ ├── Accounts.def
│ ├── AdSupport.def
│ ├── AddressBook.def
│ ├── AddressBookUI.def
│ ├── AppClip.def
│ ├── AppTrackingTransparency.def
│ ├── AssetsLibrary.def
│ ├── AudioToolbox.def
│ ├── AudioUnit.def.disabled
│ ├── AuthenticationServices.def
│ ├── AutomaticAssessmentConfiguration.def
│ ├── BackgroundTasks.def
│ ├── BusinessChat.def
│ ├── CFNetwork.def
│ ├── CallKit.def
│ ├── CarPlay.def
│ ├── ClassKit.def
│ ├── ClockKit.def
│ ├── CloudKit.def
│ ├── Combine.def.disabled
│ ├── CommonCrypto.def
│ ├── Contacts.def
│ ├── ContactsUI.def
│ ├── CoreAudio.def
│ ├── CoreAudioKit.def
│ ├── CoreAudioTypes.def
│ ├── CoreBluetooth.def
│ ├── CoreData.def
│ ├── CoreFoundation.def
│ ├── CoreGraphics.def
│ ├── CoreHaptics.def
│ ├── CoreImage.def
│ ├── CoreLocation.def
│ ├── CoreMIDI.def
│ ├── CoreML.def
│ ├── CoreMedia.def
│ ├── CoreMotion.def
│ ├── CoreNFC.def
│ ├── CoreServices.def
│ ├── CoreSpotlight.def
│ ├── CoreTelephony.def
│ ├── CoreText.def
│ ├── CoreVideo.def
│ ├── CryptoKit.def.disabled
│ ├── CryptoTokenKit.def
│ ├── DeveloperToolsSupport.def.disabled
│ ├── DeviceCheck.def
│ ├── EAGL.def
│ ├── EventKit.def
│ ├── EventKitUI.def
│ ├── ExposureNotification.def
│ ├── ExternalAccessory.def
│ ├── FileProvider.def
│ ├── FileProviderUI.def
│ ├── Foundation.def
│ ├── GLKit.def
│ ├── GSS.def
│ ├── GameController.def
│ ├── GameKit.def
│ ├── GameplayKit.def
│ ├── HealthKit.def
│ ├── HealthKitUI.def
│ ├── HomeKit.def
│ ├── IOKit.def.disabled
│ ├── IOSurface.def
│ ├── IdentityLookup.def
│ ├── IdentityLookupUI.def
│ ├── ImageCaptureCore.def
│ ├── ImageIO.def
│ ├── Intents.def
│ ├── IntentsUI.def
│ ├── JavaScriptCore.def
│ ├── LinkPresentation.def
│ ├── LocalAuthentication.def
│ ├── MLCompute.def
│ ├── MapKit.def
│ ├── MediaAccessibility.def
│ ├── MediaPlayer.def
│ ├── MediaSetup.def
│ ├── MediaToolbox.def
│ ├── MessageUI.def
│ ├── Messages.def
│ ├── Metal.def
│ ├── MetalKit.def
│ ├── MetalPerformanceShaders.def
│ ├── MetalPerformanceShadersGraph.def
│ ├── MetricKit.def
│ ├── MobileCoreServices.def
│ ├── ModelIO.def
│ ├── MultipeerConnectivity.def
│ ├── NaturalLanguage.def
│ ├── NearbyInteraction.def
│ ├── Network.def
│ ├── NetworkExtension.def
│ ├── NewsstandKit.def
│ ├── NotificationCenter.def
│ ├── OSLog.def.disabled
│ ├── OpenAL.def
│ ├── OpenGLES.def
│ ├── OpenGLES2.def
│ ├── OpenGLES3.def
│ ├── OpenGLESCommon.def
│ ├── PDFKit.def
│ ├── PassKit.def
│ ├── PencilKit.def
│ ├── Photos.def
│ ├── PhotosUI.def
│ ├── PushKit.def
│ ├── QuartzCore.def
│ ├── QuickLook.def
│ ├── QuickLookThumbnailing.def
│ ├── RealityKit.def.disabled
│ ├── ReplayKit.def
│ ├── SafariServices.def
│ ├── SceneKit.def
│ ├── ScreenTime.def
│ ├── Security.def
│ ├── SensorKit.def
│ ├── Social.def
│ ├── SoundAnalysis.def
│ ├── Speech.def
│ ├── SpriteKit.def
│ ├── StoreKit.def
│ ├── SwiftUI.def.disabled
│ ├── SystemConfiguration.def
│ ├── Twitter.def
│ ├── UIKit.def
│ ├── UniformTypeIdentifiers.def
│ ├── UserNotifications.def
│ ├── UserNotificationsUI.def
│ ├── VideoSubscriberAccount.def
│ ├── VideoToolbox.def
│ ├── Vision.def
│ ├── VisionKit.def
│ ├── WatchConnectivity.def
│ ├── WebKit.def
│ ├── WidgetKit.def.disabled
│ ├── _AVKit_SwiftUI.def.disabled
│ ├── _AuthenticationServices_SwiftUI.def.disabled
│ ├── _HomeKit_SwiftUI.def.disabled
│ ├── _MapKit_SwiftUI.def.disabled
│ ├── _QuickLook_SwiftUI.def.disabled
│ ├── _SceneKit_SwiftUI.def.disabled
│ ├── _SpriteKit_SwiftUI.def.disabled
│ ├── _StoreKit_SwiftUI.def.disabled
│ ├── builtin.def
│ ├── darwin.def
│ ├── iAd.def
│ ├── iconv.def
│ ├── objc.def
│ ├── posix.def
│ ├── set_depends.sh
│ └── zlib.def
│ ├── linux
│ ├── builtin.def
│ ├── iconv.def
│ ├── linux.def
│ ├── posix.def
│ └── zlib.def
│ ├── mingw
│ ├── builtin.def
│ ├── gdiplus.def
│ ├── iconv.def
│ ├── opengl32.def
│ ├── posix.def
│ ├── windows.def
│ └── zlib.def
│ ├── osx
│ ├── AGL.def.disabled
│ ├── AVFoundation.def
│ ├── AVKit.def
│ ├── Accelerate.def
│ ├── Accessibility.def
│ ├── Accounts.def
│ ├── AdSupport.def
│ ├── AddressBook.def
│ ├── AppKit.def
│ ├── AppTrackingTransparency.def
│ ├── AppleScriptKit.def.disabled
│ ├── AppleScriptObjC.def.disabled
│ ├── ApplicationServices.def
│ ├── AudioToolbox.def
│ ├── AudioUnit.def
│ ├── AudioVideoBridging.def.disabled
│ ├── AuthenticationServices.def
│ ├── AutomaticAssessmentConfiguration.def
│ ├── Automator.def.disabled
│ ├── BackgroundTasks.def
│ ├── BusinessChat.def
│ ├── CFNetwork.def
│ ├── CalendarStore.def.disabled
│ ├── CallKit.def
│ ├── Carbon.def.disabled
│ ├── ClassKit.def
│ ├── CloudKit.def
│ ├── Cocoa.def
│ ├── Collaboration.def
│ ├── ColorSync.def.disabled
│ ├── Combine.def.disabled
│ ├── CommonCrypto.def
│ ├── Contacts.def
│ ├── ContactsUI.def
│ ├── CoreAudio.def
│ ├── CoreAudioKit.def
│ ├── CoreAudioTypes.def
│ ├── CoreBluetooth.def
│ ├── CoreData.def
│ ├── CoreDisplay.def.disabled
│ ├── CoreFoundation.def
│ ├── CoreGraphics.def
│ ├── CoreHaptics.def
│ ├── CoreImage.def
│ ├── CoreLocation.def
│ ├── CoreMIDI.def
│ ├── CoreMIDIServer.def.disabled
│ ├── CoreML.def
│ ├── CoreMedia.def
│ ├── CoreMediaIO.def.disabled
│ ├── CoreMotion.def
│ ├── CoreServices.def
│ ├── CoreSpotlight.def
│ ├── CoreTelephony.def
│ ├── CoreText.def
│ ├── CoreVideo.def
│ ├── CoreWLAN.def
│ ├── CryptoKit.def.disabled
│ ├── CryptoTokenKit.def
│ ├── DVDPlayback.def.disabled
│ ├── DeveloperToolsSupport.def.disabled
│ ├── DeviceCheck.def
│ ├── DirectoryService.def.disabled
│ ├── DiscRecording.def.disabled
│ ├── DiscRecordingUI.def.disabled
│ ├── DiskArbitration.def
│ ├── DriverKit.def.disabled
│ ├── EventKit.def
│ ├── ExceptionHandling.def
│ ├── ExecutionPolicy.def
│ ├── ExternalAccessory.def
│ ├── FWAUserLib.def
│ ├── FileProvider.def
│ ├── FileProviderUI.def
│ ├── FinderSync.def
│ ├── ForceFeedback.def
│ ├── Foundation.def
│ ├── GLKit.def
│ ├── GLUT.def
│ ├── GSS.def
│ ├── GameController.def
│ ├── GameKit.def
│ ├── GameplayKit.def
│ ├── HIDDriverKit.def.disabled
│ ├── Hypervisor.def
│ ├── ICADevices.def.disabled
│ ├── IMServicePlugIn.def.disabled
│ ├── IOBluetooth.def
│ ├── IOBluetoothUI.def
│ ├── IOKit.def
│ ├── IOSurface.def
│ ├── IOUSBHost.def
│ ├── IdentityLookup.def
│ ├── ImageCaptureCore.def
│ ├── ImageIO.def
│ ├── InputMethodKit.def.disabled
│ ├── InstallerPlugins.def.disabled
│ ├── InstantMessage.def.disabled
│ ├── Intents.def
│ ├── JavaFrameEmbedding.def.disabled
│ ├── JavaNativeFoundation.def
│ ├── JavaRuntimeSupport.def
│ ├── JavaScriptCore.def
│ ├── JavaVM.def.disabled
│ ├── Kerberos.def.disabled
│ ├── Kernel.def.disabled
│ ├── KernelManagement.def
│ ├── LDAP.def.disabled
│ ├── LatentSemanticMapping.def.disabled
│ ├── LinkPresentation.def
│ ├── LocalAuthentication.def
│ ├── MLCompute.def
│ ├── MapKit.def
│ ├── MediaAccessibility.def
│ ├── MediaLibrary.def
│ ├── MediaPlayer.def
│ ├── MediaToolbox.def
│ ├── Message.def.disabled
│ ├── Metal.def
│ ├── MetalKit.def
│ ├── MetalPerformanceShaders.def
│ ├── MetalPerformanceShadersGraph.def
│ ├── MetricKit.def
│ ├── ModelIO.def
│ ├── MorphunAssetsUpdater.def.disabled
│ ├── MultipeerConnectivity.def
│ ├── NaturalLanguage.def
│ ├── NearbyInteraction.def
│ ├── NetFS.def.disabled
│ ├── Network.def
│ ├── NetworkExtension.def
│ ├── NetworkingDriverKit.def.disabled
│ ├── NotificationCenter.def
│ ├── OSAKit.def.disabled
│ ├── OSLog.def
│ ├── OpenAL.def.disabled
│ ├── OpenCL.def.disabled
│ ├── OpenDirectory.def
│ ├── OpenGL.def
│ ├── OpenGL3.def
│ ├── OpenGLCommon.def
│ ├── PCIDriverKit.def.disabled
│ ├── PCSC.def.disabled
│ ├── PDFKit.def
│ ├── ParavirtualizedGraphics.def
│ ├── PassKit.def
│ ├── PencilKit.def
│ ├── Photos.def
│ ├── PhotosUI.def
│ ├── PreferencePanes.def
│ ├── PushKit.def
│ ├── Python.def.disabled
│ ├── QTKit.def.disabled
│ ├── Quartz.def
│ ├── QuartzCore.def
│ ├── QuickLook.def
│ ├── QuickLookThumbnailing.def
│ ├── RealityKit.def.disabled
│ ├── ReplayKit.def
│ ├── Ruby.def.disabled
│ ├── SafariServices.def
│ ├── SceneKit.def
│ ├── ScreenSaver.def
│ ├── ScreenTime.def
│ ├── ScriptingBridge.def
│ ├── Security.def
│ ├── SecurityFoundation.def
│ ├── SecurityInterface.def
│ ├── SensorKit.def
│ ├── ServiceManagement.def
│ ├── Social.def
│ ├── SoundAnalysis.def
│ ├── Speech.def
│ ├── SpriteKit.def
│ ├── StoreKit.def
│ ├── SwiftUI.def.disabled
│ ├── SyncServices.def.disabled
│ ├── System.def.disabled
│ ├── SystemConfiguration.def
│ ├── SystemExtensions.def
│ ├── TWAIN.def.disabled
│ ├── Tcl.def.disabled
│ ├── Tk.def.disabled
│ ├── USBDriverKit.def.disabled
│ ├── UniformTypeIdentifiers.def
│ ├── UserNotifications.def
│ ├── UserNotificationsUI.def
│ ├── VideoDecodeAcceleration.def.disabled
│ ├── VideoSubscriberAccount.def
│ ├── VideoToolbox.def
│ ├── Virtualization.def
│ ├── Vision.def
│ ├── WebKit.def
│ ├── WidgetKit.def.disabled
│ ├── _AVKit_SwiftUI.def.disabled
│ ├── _AuthenticationServices_SwiftUI.def.disabled
│ ├── _MapKit_SwiftUI.def.disabled
│ ├── _QuickLook_SwiftUI.def.disabled
│ ├── _SceneKit_SwiftUI.def.disabled
│ ├── _SpriteKit_SwiftUI.def.disabled
│ ├── _StoreKit_SwiftUI.def.disabled
│ ├── builtin.def
│ ├── darwin.def
│ ├── iTunesLibrary.def
│ ├── iconv.def
│ ├── libkern.def
│ ├── objc.def
│ ├── osx.def
│ ├── posix.def
│ ├── set_depends.sh
│ ├── vmnet.def
│ └── zlib.def
│ ├── tvos
│ ├── AVFoundation.def
│ ├── AVKit.def
│ ├── Accelerate.def
│ ├── Accessibility.def
│ ├── AdSupport.def
│ ├── AppTrackingTransparency.def
│ ├── AudioToolbox.def
│ ├── AudioUnit.def.disabled
│ ├── AuthenticationServices.def
│ ├── BackgroundTasks.def
│ ├── CFNetwork.def
│ ├── CloudKit.def
│ ├── Combine.def.disabled
│ ├── CommonCrypto.def
│ ├── CoreAudio.def
│ ├── CoreAudioKit.def.disabled
│ ├── CoreAudioTypes.def
│ ├── CoreBluetooth.def
│ ├── CoreData.def
│ ├── CoreFoundation.def
│ ├── CoreGraphics.def
│ ├── CoreHaptics.def
│ ├── CoreImage.def
│ ├── CoreLocation.def
│ ├── CoreML.def
│ ├── CoreMedia.def
│ ├── CoreServices.def
│ ├── CoreSpotlight.def
│ ├── CoreText.def
│ ├── CoreVideo.def
│ ├── CryptoKit.def.disabled
│ ├── CryptoTokenKit.def
│ ├── DeveloperToolsSupport.def.disabled
│ ├── DeviceCheck.def
│ ├── EAGL.def
│ ├── ExposureNotification.def.disabled
│ ├── ExternalAccessory.def
│ ├── Foundation.def
│ ├── GLKit.def
│ ├── GameController.def
│ ├── GameKit.def
│ ├── GameplayKit.def
│ ├── HomeKit.def
│ ├── IOKit.def.disabled
│ ├── IOSurface.def
│ ├── ImageIO.def
│ ├── Intents.def
│ ├── IntentsUI.def
│ ├── JavaScriptCore.def
│ ├── LinkPresentation.def
│ ├── LocalAuthentication.def.disabled
│ ├── MLCompute.def
│ ├── MapKit.def
│ ├── MediaAccessibility.def
│ ├── MediaPlayer.def
│ ├── MediaToolbox.def
│ ├── MessageUI.def.disabled
│ ├── Metal.def
│ ├── MetalKit.def
│ ├── MetalPerformanceShaders.def
│ ├── MetalPerformanceShadersGraph.def
│ ├── MetricKit.def
│ ├── MobileCoreServices.def
│ ├── ModelIO.def
│ ├── MultipeerConnectivity.def
│ ├── NaturalLanguage.def
│ ├── Network.def
│ ├── OSLog.def.disabled
│ ├── OpenAL.def
│ ├── OpenGLES.def
│ ├── OpenGLES2.def
│ ├── OpenGLES3.def
│ ├── OpenGLESCommon.def
│ ├── Photos.def
│ ├── PhotosUI.def
│ ├── QuartzCore.def
│ ├── ReplayKit.def
│ ├── SceneKit.def
│ ├── Security.def
│ ├── SoundAnalysis.def
│ ├── SpriteKit.def
│ ├── StoreKit.def
│ ├── SwiftUI.def.disabled
│ ├── SystemConfiguration.def
│ ├── TVMLKit.def
│ ├── TVServices.def
│ ├── TVUIKit.def
│ ├── UIKit.def
│ ├── UniformTypeIdentifiers.def
│ ├── UserNotifications.def
│ ├── VideoSubscriberAccount.def
│ ├── VideoToolbox.def
│ ├── Vision.def
│ ├── _AVKit_SwiftUI.def.disabled
│ ├── _AuthenticationServices_SwiftUI.def.disabled
│ ├── _HomeKit_SwiftUI.def.disabled
│ ├── _MapKit_SwiftUI.def.disabled
│ ├── _SceneKit_SwiftUI.def.disabled
│ ├── _SpriteKit_SwiftUI.def.disabled
│ ├── _StoreKit_SwiftUI.def.disabled
│ ├── builtin.def
│ ├── darwin.def
│ ├── iconv.def
│ ├── objc.def
│ ├── posix.def
│ ├── set_depends.sh
│ └── zlib.def
│ └── watchos
│ ├── AVFoundation.def
│ ├── AVKit.def
│ ├── Accelerate.def
│ ├── Accessibility.def
│ ├── AuthenticationServices.def
│ ├── CFNetwork.def.disabled
│ ├── ClockKit.def
│ ├── CloudKit.def
│ ├── Combine.def.disabled
│ ├── CommonCrypto.def
│ ├── Contacts.def
│ ├── CoreAudio.def
│ ├── CoreAudioTypes.def
│ ├── CoreBluetooth.def
│ ├── CoreData.def
│ ├── CoreFoundation.def
│ ├── CoreGraphics.def
│ ├── CoreLocation.def
│ ├── CoreML.def
│ ├── CoreMedia.def
│ ├── CoreMotion.def
│ ├── CoreServices.def
│ ├── CoreText.def
│ ├── CoreVideo.def
│ ├── CryptoKit.def.disabled
│ ├── DeveloperToolsSupport.def.disabled
│ ├── EventKit.def
│ ├── Foundation.def
│ ├── GameKit.def
│ ├── HealthKit.def
│ ├── HomeKit.def
│ ├── ImageIO.def
│ ├── Intents.def
│ ├── MapKit.def
│ ├── MediaPlayer.def
│ ├── MobileCoreServices.def
│ ├── NaturalLanguage.def
│ ├── Network.def
│ ├── NetworkExtension.def
│ ├── PassKit.def
│ ├── PushKit.def
│ ├── SceneKit.def
│ ├── Security.def
│ ├── SoundAnalysis.def
│ ├── SpriteKit.def
│ ├── StoreKit.def
│ ├── SwiftUI.def.disabled
│ ├── UIKit.def
│ ├── UniformTypeIdentifiers.def
│ ├── UserNotifications.def
│ ├── WatchConnectivity.def
│ ├── WatchKit.def
│ ├── _AVKit_SwiftUI.def.disabled
│ ├── _AuthenticationServices_SwiftUI.def.disabled
│ ├── _ClockKit_SwiftUI.def.disabled
│ ├── _HomeKit_SwiftUI.def.disabled
│ ├── _MapKit_SwiftUI.def.disabled
│ ├── _SceneKit_SwiftUI.def.disabled
│ ├── _SpriteKit_SwiftUI.def.disabled
│ ├── _StoreKit_SwiftUI.def.disabled
│ ├── _WatchKit_SwiftUI.def.disabled
│ ├── builtin.def
│ ├── darwin.def
│ ├── iconv.def
│ ├── objc.def
│ ├── posix.def
│ ├── set_depends.sh
│ └── zlib.def
├── runtime
├── CMakeLists.txt
├── build.gradle.kts
├── generator
│ └── build.gradle
├── src
│ ├── debug
│ │ └── cpp
│ │ │ ├── KDebug.cpp
│ │ │ └── SourceInfo.cpp
│ ├── exceptions_support
│ │ └── cpp
│ │ │ └── ExceptionsSupport.cpp
│ ├── launcher
│ │ ├── cpp
│ │ │ ├── androidLauncher.cpp
│ │ │ ├── androidLauncher.h
│ │ │ └── launcher.cpp
│ │ └── js
│ │ │ ├── index.html
│ │ │ └── launcher.js
│ ├── legacymm
│ │ └── cpp
│ │ │ ├── CyclicCollector.cpp
│ │ │ ├── CyclicCollector.h
│ │ │ ├── Memory.cpp
│ │ │ └── MemoryPrivate.hpp
│ ├── main
│ │ ├── cpp
│ │ │ ├── Alignment.hpp
│ │ │ ├── AlignmentTest.cpp
│ │ │ ├── Alloc.h
│ │ │ ├── AllocTest.cpp
│ │ │ ├── Arrays.cpp
│ │ │ ├── Atomic.cpp
│ │ │ ├── Atomic.h
│ │ │ ├── Boxing.cpp
│ │ │ ├── Cleaner.cpp
│ │ │ ├── Cleaner.h
│ │ │ ├── CleanerTest.cpp
│ │ │ ├── Common.h
│ │ │ ├── CompilerExport.cpp
│ │ │ ├── Console.cpp
│ │ │ ├── CppSupport.hpp
│ │ │ ├── DoubleConversions.h
│ │ │ ├── Exceptions.cpp
│ │ │ ├── Exceptions.h
│ │ │ ├── ExecFormat.cpp
│ │ │ ├── ExecFormat.h
│ │ │ ├── FinalizerHooks.cpp
│ │ │ ├── FinalizerHooks.hpp
│ │ │ ├── FinalizerHooksTest.cpp
│ │ │ ├── FinalizerHooksTestSupport.cpp
│ │ │ ├── FinalizerHooksTestSupport.hpp
│ │ │ ├── FreezeHooks.cpp
│ │ │ ├── FreezeHooks.hpp
│ │ │ ├── FreezeHooksTest.cpp
│ │ │ ├── FreezeHooksTestSupport.cpp
│ │ │ ├── FreezeHooksTestSupport.hpp
│ │ │ ├── Interop.cpp
│ │ │ ├── JSInterop.cpp
│ │ │ ├── KAssert.cpp
│ │ │ ├── KAssert.h
│ │ │ ├── KAssertTest.cpp
│ │ │ ├── KDebug.h
│ │ │ ├── KString.cpp
│ │ │ ├── KString.h
│ │ │ ├── KotlinMath.cpp
│ │ │ ├── KotlinMath.h
│ │ │ ├── Memory.h
│ │ │ ├── MemorySharedRefs.cpp
│ │ │ ├── MemorySharedRefs.hpp
│ │ │ ├── MultiSourceQueue.hpp
│ │ │ ├── MultiSourceQueueTest.cpp
│ │ │ ├── Mutex.hpp
│ │ │ ├── Natives.cpp
│ │ │ ├── Natives.h
│ │ │ ├── ObjCExceptions.cpp
│ │ │ ├── ObjCExceptions.h
│ │ │ ├── ObjCExport.h
│ │ │ ├── ObjCExport.mm
│ │ │ ├── ObjCExportCollectionUtils.mm
│ │ │ ├── ObjCExportCollections.h
│ │ │ ├── ObjCExportCoroutines.mm
│ │ │ ├── ObjCExportErrors.h
│ │ │ ├── ObjCExportErrors.mm
│ │ │ ├── ObjCExportExceptionDetails.h
│ │ │ ├── ObjCExportExceptionDetails.mm
│ │ │ ├── ObjCExportInit.h
│ │ │ ├── ObjCExportPrivate.h
│ │ │ ├── ObjCInterop.h
│ │ │ ├── ObjCInterop.mm
│ │ │ ├── ObjCInteropUtils.mm
│ │ │ ├── ObjCInteropUtilsPrivate.h
│ │ │ ├── ObjCMMAPI.h
│ │ │ ├── ObjectTraversal.hpp
│ │ │ ├── ObjectTraversalTest.cpp
│ │ │ ├── Operator.cpp
│ │ │ ├── PointerBits.h
│ │ │ ├── Porting.cpp
│ │ │ ├── Porting.h
│ │ │ ├── PthreadUtils.cpp
│ │ │ ├── PthreadUtils.h
│ │ │ ├── Regex.cpp
│ │ │ ├── ReturnSlot.cpp
│ │ │ ├── ReturnSlot.h
│ │ │ ├── Runtime.cpp
│ │ │ ├── Runtime.h
│ │ │ ├── SingleLockList.hpp
│ │ │ ├── SingleLockListTest.cpp
│ │ │ ├── SourceInfo.h
│ │ │ ├── StdCppStubs.cpp
│ │ │ ├── TestSupport.hpp
│ │ │ ├── TestSupportCompilerGenerated.hpp
│ │ │ ├── Time.cpp
│ │ │ ├── ToString.cpp
│ │ │ ├── TypeInfo.cpp
│ │ │ ├── TypeInfo.h
│ │ │ ├── Types.cpp
│ │ │ ├── Types.h
│ │ │ ├── Utils.hpp
│ │ │ ├── UtilsTest.cpp
│ │ │ ├── Weak.cpp
│ │ │ ├── Weak.h
│ │ │ ├── Worker.cpp
│ │ │ ├── Worker.h
│ │ │ ├── WorkerBoundReference.cpp
│ │ │ ├── WorkerBoundReference.h
│ │ │ ├── dlmalloc
│ │ │ │ └── malloc.cpp
│ │ │ ├── dtoa
│ │ │ │ ├── cbigint.cpp
│ │ │ │ ├── cbigint.h
│ │ │ │ ├── dblparse.cpp
│ │ │ │ ├── fltconst.h
│ │ │ │ ├── fltparse.cpp
│ │ │ │ └── hycomp.h
│ │ │ ├── math
│ │ │ │ ├── COPYRIGHT
│ │ │ │ ├── endian.h
│ │ │ │ ├── fmod.cpp
│ │ │ │ ├── fmodf.cpp
│ │ │ │ ├── libm.h
│ │ │ │ └── scalbn.cpp
│ │ │ ├── polyhash
│ │ │ │ ├── PolyHash.cpp
│ │ │ │ ├── PolyHash.h
│ │ │ │ ├── PolyHashTest.cpp
│ │ │ │ ├── arm.cpp
│ │ │ │ ├── arm.h
│ │ │ │ ├── common.h
│ │ │ │ ├── naive.h
│ │ │ │ ├── x86.cpp
│ │ │ │ └── x86.h
│ │ │ ├── snprintf
│ │ │ │ ├── AUTHORS
│ │ │ │ ├── COPYING
│ │ │ │ └── snprintf.cpp
│ │ │ ├── utf8.h
│ │ │ └── utf8
│ │ │ │ ├── checked.h
│ │ │ │ ├── core.h
│ │ │ │ ├── unchecked.h
│ │ │ │ └── with_replacement.h
│ │ ├── js
│ │ │ └── math.js
│ │ └── kotlin
│ │ │ ├── generated
│ │ │ ├── _ArraysNative.kt
│ │ │ ├── _CharCategories.kt
│ │ │ ├── _CollectionsNative.kt
│ │ │ ├── _ComparisonsNative.kt
│ │ │ ├── _DigitChars.kt
│ │ │ ├── _LetterChars.kt
│ │ │ ├── _LowercaseMappings.kt
│ │ │ ├── _OneToManyLowercaseMappings.kt
│ │ │ ├── _OneToManyUppercaseMappings.kt
│ │ │ ├── _StringLowercase.kt
│ │ │ ├── _StringUppercase.kt
│ │ │ ├── _StringsNative.kt
│ │ │ ├── _TitlecaseMappings.kt
│ │ │ ├── _UArraysNative.kt
│ │ │ ├── _UppercaseMappings.kt
│ │ │ └── _WhitespaceChars.kt
│ │ │ └── kotlin
│ │ │ ├── Annotation.kt
│ │ │ ├── Annotations.kt
│ │ │ ├── Any.kt
│ │ │ ├── Array.kt
│ │ │ ├── Arrays.kt
│ │ │ ├── Assertions.kt
│ │ │ ├── Boolean.kt
│ │ │ ├── Char.kt
│ │ │ ├── CharCode.kt
│ │ │ ├── CharSequence.kt
│ │ │ ├── Comparable.kt
│ │ │ ├── Comparator.kt
│ │ │ ├── Enum.kt
│ │ │ ├── Exceptions.kt
│ │ │ ├── Experimental.kt
│ │ │ ├── Function.kt
│ │ │ ├── Lazy.kt
│ │ │ ├── Nothing.kt
│ │ │ ├── Number.kt
│ │ │ ├── Numbers.kt
│ │ │ ├── Primitives.kt
│ │ │ ├── String.kt
│ │ │ ├── Throwable.kt
│ │ │ ├── Unit.kt
│ │ │ ├── annotation
│ │ │ └── Annotations.kt
│ │ │ ├── collections
│ │ │ ├── AbstractMutableCollection.kt
│ │ │ ├── AbstractMutableList.kt
│ │ │ ├── AbstractMutableMap.kt
│ │ │ ├── AbstractMutableSet.kt
│ │ │ ├── ArrayList.kt
│ │ │ ├── ArraySorting.kt
│ │ │ ├── ArrayUtil.kt
│ │ │ ├── Arrays.kt
│ │ │ ├── Collection.kt
│ │ │ ├── Collections.kt
│ │ │ ├── HashMap.kt
│ │ │ ├── HashSet.kt
│ │ │ ├── Iterator.kt
│ │ │ ├── Iterators.kt
│ │ │ ├── List.kt
│ │ │ ├── Map.kt
│ │ │ ├── Maps.kt
│ │ │ ├── MutableCollections.kt
│ │ │ ├── RandomAccess.kt
│ │ │ ├── Set.kt
│ │ │ └── Sets.kt
│ │ │ ├── coroutines
│ │ │ ├── ContinuationImpl.kt
│ │ │ ├── DebugProbes.kt
│ │ │ ├── SafeContinuationNative.kt
│ │ │ ├── SuspendFunction.kt
│ │ │ ├── cancellation
│ │ │ │ └── CancellationException.kt
│ │ │ └── intrinsics
│ │ │ │ └── IntrinsicsNative.kt
│ │ │ ├── internal
│ │ │ ├── Annotations.kt
│ │ │ └── ProgressionUtil.kt
│ │ │ ├── io
│ │ │ ├── Console.kt
│ │ │ └── Serializable.kt
│ │ │ ├── math
│ │ │ └── math.kt
│ │ │ ├── native
│ │ │ ├── Annotations.kt
│ │ │ ├── BitSet.kt
│ │ │ ├── Blob.kt
│ │ │ ├── Platform.kt
│ │ │ ├── Runtime.kt
│ │ │ ├── Text.kt
│ │ │ ├── ThrowableExtensions.kt
│ │ │ ├── TypedArrays.kt
│ │ │ ├── concurrent
│ │ │ │ ├── Annotations.kt
│ │ │ │ ├── Atomics.kt
│ │ │ │ ├── Continuation.kt
│ │ │ │ ├── Freezing.kt
│ │ │ │ ├── Future.kt
│ │ │ │ ├── Internal.kt
│ │ │ │ ├── Lazy.kt
│ │ │ │ ├── Lock.kt
│ │ │ │ ├── MutableData.kt
│ │ │ │ ├── ObjectTransfer.kt
│ │ │ │ ├── Worker.kt
│ │ │ │ └── WorkerBoundReference.kt
│ │ │ ├── internal
│ │ │ │ ├── Annotations.kt
│ │ │ │ ├── Boxing.kt
│ │ │ │ ├── Cleaner.kt
│ │ │ │ ├── Coroutines.kt
│ │ │ │ ├── Debugging.kt
│ │ │ │ ├── DefaultConstructorMarker.kt
│ │ │ │ ├── Enums.kt
│ │ │ │ ├── FloatingPointParser.kt
│ │ │ │ ├── FunctionAdapter.kt
│ │ │ │ ├── GC.kt
│ │ │ │ ├── HexStringParser.kt
│ │ │ │ ├── InteropBoxing.kt
│ │ │ │ ├── IntrinsicType.kt
│ │ │ │ ├── Intrinsics.kt
│ │ │ │ ├── KClassImpl.kt
│ │ │ │ ├── KFunctionImpl.kt
│ │ │ │ ├── KPropertyImpl.kt
│ │ │ │ ├── KSuspendFunctionImpl.kt
│ │ │ │ ├── KTypeImpl.kt
│ │ │ │ ├── KTypeParameterImpl.kt
│ │ │ │ ├── KonanCollections.kt
│ │ │ │ ├── KonanRuntimeTypes.kt
│ │ │ │ ├── NativePtr.kt
│ │ │ │ ├── NumberConverter.kt
│ │ │ │ ├── ObjCExportCoroutines.kt
│ │ │ │ ├── ObjCExportUtils.kt
│ │ │ │ ├── Ref.kt
│ │ │ │ ├── RuntimeUtils.kt
│ │ │ │ ├── Undefined.kt
│ │ │ │ ├── Utils.kt
│ │ │ │ └── test
│ │ │ │ │ ├── GTestLogger.kt
│ │ │ │ │ ├── Launcher.kt
│ │ │ │ │ ├── TeamCityLogger.kt
│ │ │ │ │ ├── TestListener.kt
│ │ │ │ │ ├── TestLogger.kt
│ │ │ │ │ ├── TestRunner.kt
│ │ │ │ │ ├── TestStatistics.kt
│ │ │ │ │ └── TestSuite.kt
│ │ │ ├── ref
│ │ │ │ ├── Weak.kt
│ │ │ │ └── WeakPrivate.kt
│ │ │ └── simd.kt
│ │ │ ├── random
│ │ │ └── Random.kt
│ │ │ ├── ranges
│ │ │ ├── ProgressionIterators.kt
│ │ │ ├── Progressions.kt
│ │ │ ├── Range.kt
│ │ │ └── Ranges.kt
│ │ │ ├── reflect
│ │ │ ├── AssociatedObjects.kt
│ │ │ ├── KAnnotatedElement.kt
│ │ │ ├── KCallable.kt
│ │ │ ├── KClass.kt
│ │ │ ├── KClassesImpl.kt
│ │ │ ├── KDeclarationContainer.kt
│ │ │ ├── KFunction.kt
│ │ │ ├── KProperty.kt
│ │ │ └── KType.kt
│ │ │ ├── sequences
│ │ │ └── Sequences.kt
│ │ │ ├── system
│ │ │ ├── Process.kt
│ │ │ └── Timing.kt
│ │ │ ├── test
│ │ │ ├── Annotation.kt
│ │ │ └── Assertions.kt
│ │ │ ├── text
│ │ │ ├── Appendable.kt
│ │ │ ├── Char.kt
│ │ │ ├── CharCategory.kt
│ │ │ ├── CharacterCodingException.kt
│ │ │ ├── PatternSyntaxException.kt
│ │ │ ├── Regex.kt
│ │ │ ├── StringBuilder.kt
│ │ │ ├── StringBuilderNative.kt
│ │ │ ├── StringNumberConversions.kt
│ │ │ ├── Strings.kt
│ │ │ └── regex
│ │ │ │ ├── AbstractCharClass.kt
│ │ │ │ ├── AbstractLineTerminator.kt
│ │ │ │ ├── CharClass.kt
│ │ │ │ ├── Lexer.kt
│ │ │ │ ├── MatchResultImpl.kt
│ │ │ │ ├── Pattern.kt
│ │ │ │ ├── Quantifier.kt
│ │ │ │ └── sets
│ │ │ │ ├── AbstractSet.kt
│ │ │ │ ├── AtomicJointSet.kt
│ │ │ │ ├── BackReferenceSet.kt
│ │ │ │ ├── CharSet.kt
│ │ │ │ ├── CompositeRangeSet.kt
│ │ │ │ ├── DecomposedCharSet.kt
│ │ │ │ ├── DotQuantifierSet.kt
│ │ │ │ ├── DotSet.kt
│ │ │ │ ├── EOISet.kt
│ │ │ │ ├── EOLSet.kt
│ │ │ │ ├── EmptySet.kt
│ │ │ │ ├── FSets.kt
│ │ │ │ ├── GroupQuantifierSet.kt
│ │ │ │ ├── HangulDecomposedCharSet.kt
│ │ │ │ ├── JointSet.kt
│ │ │ │ ├── LeafQuantifierSet.kt
│ │ │ │ ├── LeafSet.kt
│ │ │ │ ├── LookAheadSets.kt
│ │ │ │ ├── LookBehindSets.kt
│ │ │ │ ├── NonCapturingJointSet.kt
│ │ │ │ ├── PossessiveGroupQuantifierSet.kt
│ │ │ │ ├── PossessiveLeafQuantifierSet.kt
│ │ │ │ ├── PreviousMatchSet.kt
│ │ │ │ ├── QuantifierSet.kt
│ │ │ │ ├── RangeSet.kt
│ │ │ │ ├── ReluctantGroupQuantifierSet.kt
│ │ │ │ ├── ReluctantLeafQuantifierSet.kt
│ │ │ │ ├── SOLSet.kt
│ │ │ │ ├── SequenceSet.kt
│ │ │ │ ├── SingleSet.kt
│ │ │ │ ├── SupplementaryCharSet.kt
│ │ │ │ ├── SupplementaryRangeSet.kt
│ │ │ │ ├── SurrogateCharSets.kt
│ │ │ │ ├── SurrogateRangeSet.kt
│ │ │ │ ├── UnifiedQuantifierSet.kt
│ │ │ │ └── WordBoundarySet.kt
│ │ │ └── time
│ │ │ ├── DurationUnit.kt
│ │ │ ├── MonotonicTimeSource.kt
│ │ │ └── formatToDecimals.kt
│ ├── mimalloc
│ │ ├── README.md
│ │ └── c
│ │ │ ├── alloc-aligned.c
│ │ │ ├── alloc-override-osx.c
│ │ │ ├── alloc-override.c
│ │ │ ├── alloc-posix.c
│ │ │ ├── alloc.c
│ │ │ ├── arena.c
│ │ │ ├── bitmap.inc.c
│ │ │ ├── heap.c
│ │ │ ├── include
│ │ │ ├── mimalloc-atomic.h
│ │ │ ├── mimalloc-internal.h
│ │ │ ├── mimalloc-new-delete.h
│ │ │ ├── mimalloc-override.h
│ │ │ ├── mimalloc-types.h
│ │ │ └── mimalloc.h
│ │ │ ├── init.c
│ │ │ ├── options.c
│ │ │ ├── os.c
│ │ │ ├── page-queue.c
│ │ │ ├── page.c
│ │ │ ├── random.c
│ │ │ ├── region.c
│ │ │ ├── segment.c
│ │ │ ├── static.c
│ │ │ └── stats.c
│ ├── mm
│ │ └── cpp
│ │ │ ├── ExceptionObjHolder.cpp
│ │ │ ├── ExceptionObjHolderTest.cpp
│ │ │ ├── ExtraObjectData.cpp
│ │ │ ├── ExtraObjectData.hpp
│ │ │ ├── ExtraObjectDataTest.cpp
│ │ │ ├── GC.hpp
│ │ │ ├── GlobalData.cpp
│ │ │ ├── GlobalData.hpp
│ │ │ ├── GlobalsRegistry.cpp
│ │ │ ├── GlobalsRegistry.hpp
│ │ │ ├── InitializationScheme.cpp
│ │ │ ├── InitializationScheme.hpp
│ │ │ ├── InitializationSchemeTest.cpp
│ │ │ ├── Memory.cpp
│ │ │ ├── MemoryPrivate.hpp
│ │ │ ├── ObjectFactory.hpp
│ │ │ ├── ObjectFactoryTest.cpp
│ │ │ ├── ObjectOps.cpp
│ │ │ ├── ObjectOps.hpp
│ │ │ ├── RootSet.cpp
│ │ │ ├── RootSet.hpp
│ │ │ ├── RootSetTest.cpp
│ │ │ ├── ShadowStack.cpp
│ │ │ ├── ShadowStack.hpp
│ │ │ ├── ShadowStackTest.cpp
│ │ │ ├── StableRefRegistry.cpp
│ │ │ ├── StableRefRegistry.hpp
│ │ │ ├── Stubs.cpp
│ │ │ ├── TestSupport.hpp
│ │ │ ├── ThreadData.hpp
│ │ │ ├── ThreadLocalStorage.cpp
│ │ │ ├── ThreadLocalStorage.hpp
│ │ │ ├── ThreadLocalStorageTest.cpp
│ │ │ ├── ThreadRegistry.cpp
│ │ │ ├── ThreadRegistry.hpp
│ │ │ ├── ThreadRegistryTest.cpp
│ │ │ ├── ThreadState.cpp
│ │ │ ├── ThreadState.hpp
│ │ │ ├── ThreadStateTest.cpp
│ │ │ └── gc
│ │ │ └── NoOpGC.hpp
│ ├── objc
│ │ └── cpp
│ │ │ ├── ObjCExportClasses.mm
│ │ │ ├── ObjCExportCollections.mm
│ │ │ ├── ObjCExportNumbers.mm
│ │ │ └── ObjCInteropUtilsClasses.mm
│ ├── opt_alloc
│ │ └── cpp
│ │ │ └── AllocImpl.cpp
│ ├── profile_runtime
│ │ └── cpp
│ │ │ └── ProfileRuntime.cpp
│ ├── relaxed
│ │ └── cpp
│ │ │ └── MemoryImpl.cpp
│ ├── release
│ │ └── cpp
│ │ │ └── SourceInfo.cpp
│ ├── std_alloc
│ │ └── cpp
│ │ │ └── AllocImpl.cpp
│ ├── strict
│ │ └── cpp
│ │ │ └── MemoryImpl.cpp
│ └── test_support
│ │ └── cpp
│ │ ├── CompilerGenerated.cpp
│ │ ├── CompilerGeneratedObjC.mm
│ │ └── TestLauncher.cpp
└── tsan_suppressions.txt
├── samples
├── README.md
├── androidNativeActivity
│ └── README.md
├── calculator
│ └── README.md
├── cocoapods
│ └── README.md
├── coverage
│ └── README.md
├── csvparser
│ └── README.md
├── curl
│ └── README.md
├── echoServer
│ └── README.md
├── gitchurn
│ └── README.md
├── globalState
│ └── README.md
├── gtk
│ └── README.md
├── html5Canvas
│ └── README.md
├── libcurl
│ └── README.md
├── nonBlockingEchoServer
│ └── README.md
├── objc
│ └── README.md
├── opengl
│ └── README.md
├── python_extension
│ └── README.md
├── simd
│ └── README.md
├── tensorflow
│ └── README.md
├── tetris
│ └── README.md
├── torch
│ └── README.md
├── uikit
│ └── README.md
├── videoplayer
│ └── README.md
├── watchos
│ └── README.md
├── weather_function
│ └── readme.md
├── win32
│ └── README.md
├── workers
│ └── README.md
└── zephyr
│ └── README.md
├── settings.gradle
├── shared
├── build.gradle.kts
├── buildSrc
│ ├── build.gradle
│ ├── settings.gradle
│ └── src
│ │ └── main
│ │ └── java
│ │ └── org
│ │ └── jetbrains
│ │ └── kotlin
│ │ └── VersionGenerator.java
├── settings.gradle.kts
└── src
│ ├── library
│ └── kotlin
│ │ └── org
│ │ └── jetbrains
│ │ └── kotlin
│ │ └── konan
│ │ └── library
│ │ ├── KonanLibrary.kt
│ │ ├── KonanLibraryLayout.kt
│ │ ├── KonanLibraryWriter.kt
│ │ ├── SearchPathResolver.kt
│ │ └── impl
│ │ ├── BitcodeWriterImpl.kt
│ │ ├── KonanLibraryImpl.kt
│ │ ├── KonanLibraryLayoutImpl.kt
│ │ └── KonanLibraryWriterImpl.kt
│ └── main
│ └── kotlin
│ └── org
│ └── jetbrains
│ └── kotlin
│ └── konan
│ ├── Exceptions.kt
│ ├── KonanAbiVersion.kt
│ ├── TempFiles.kt
│ ├── exec
│ └── ExecuteCommand.kt
│ ├── file
│ └── NativeFileType.kt
│ ├── target
│ ├── Apple.kt
│ ├── ClangArgs.kt
│ ├── Configurables.kt
│ ├── ConfigurablesExtensions.kt
│ ├── ConfigurablesImpl.kt
│ ├── KonanProperties.kt
│ ├── KonanTargetExtenstions.kt
│ ├── Linker.kt
│ ├── Platform.kt
│ ├── Sanitizer.kt
│ ├── TargetProperties.kt
│ └── Xcode.kt
│ └── util
│ ├── DefFile.kt
│ ├── DependencyDownloader.kt
│ ├── DependencyExtractor.kt
│ ├── DependencyProcessor.kt
│ ├── PlatformLibsInfo.kt
│ └── Substitution.kt
├── tools
├── benchmarks
│ └── shared
│ │ └── src
│ │ └── main
│ │ └── kotlin
│ │ ├── analyzer
│ │ ├── FieldChange.kt
│ │ ├── Statistics.kt
│ │ ├── SummaryBenchmarksReport.kt
│ │ └── Utils.kt
│ │ └── report
│ │ ├── BenchmarksReport.kt
│ │ └── json
│ │ ├── ConvertedFromJson.kt
│ │ ├── JsonElement.kt
│ │ ├── JsonExceptions.kt
│ │ ├── JsonParser.kt
│ │ ├── JsonTreeParser.kt
│ │ └── StringOps.kt
├── benchmarksAnalyzer
│ ├── build.gradle
│ ├── gradle.properties
│ ├── settings.gradle
│ └── src
│ │ ├── main
│ │ ├── kotlin-js
│ │ │ └── org
│ │ │ │ └── jetbrains
│ │ │ │ └── analyzer
│ │ │ │ └── Utils.kt
│ │ ├── kotlin-jvm
│ │ │ └── org
│ │ │ │ └── jetbrains
│ │ │ │ └── analyzer
│ │ │ │ └── Utils.kt
│ │ ├── kotlin-native
│ │ │ └── org
│ │ │ │ └── jetbrains
│ │ │ │ └── analyzer
│ │ │ │ └── Utils.kt
│ │ └── kotlin
│ │ │ ├── main.kt
│ │ │ └── org
│ │ │ └── jetbrains
│ │ │ └── renders
│ │ │ ├── HTMLRender.kt
│ │ │ ├── JsonResultsRender.kt
│ │ │ ├── MetricResultsRender.kt
│ │ │ ├── Render.kt
│ │ │ ├── StatisticsRender.kt
│ │ │ └── TeamCityStatisticsRender.kt
│ │ ├── nativeInterop
│ │ └── cinterop
│ │ │ └── libcurl.def
│ │ └── tests
│ │ └── AnalyzerTests.kt
├── kotlin-native-gradle-plugin
│ ├── build.gradle
│ ├── settings.gradle
│ └── src
│ │ ├── main
│ │ ├── kotlin
│ │ │ └── org
│ │ │ │ └── jetbrains
│ │ │ │ └── kotlin
│ │ │ │ └── gradle
│ │ │ │ └── plugin
│ │ │ │ ├── experimental
│ │ │ │ └── internal
│ │ │ │ │ └── KotlinNativePlatform.kt
│ │ │ │ └── konan
│ │ │ │ ├── EnvironmentVariables.kt
│ │ │ │ ├── KonanArtifactContainer.kt
│ │ │ │ ├── KonanBuildingConfig.kt
│ │ │ │ ├── KonanCompileConfig.kt
│ │ │ │ ├── KonanInteropLibrary.kt
│ │ │ │ ├── KonanLibrariesSpec.kt
│ │ │ │ ├── KonanPlugin.kt
│ │ │ │ ├── KonanSpecs.kt
│ │ │ │ ├── KonanToolRunner.kt
│ │ │ │ ├── KotlinNativePlatformPlugin.kt
│ │ │ │ └── tasks
│ │ │ │ ├── KonanBaseTasks.kt
│ │ │ │ ├── KonanBuildingTask.kt
│ │ │ │ ├── KonanCacheTask.kt
│ │ │ │ ├── KonanCompileTask.kt
│ │ │ │ ├── KonanCompilerDownloadTask.kt
│ │ │ │ └── KonanInteropTask.kt
│ │ └── resources
│ │ │ └── META-INF
│ │ │ └── services
│ │ │ └── shadow.org.jetbrains.kotlin.gradle.plugin.KotlinGradleSubplugin
│ │ └── test
│ │ ├── groovy
│ │ └── org
│ │ │ └── jetbrains
│ │ │ └── kotlin
│ │ │ └── gradle
│ │ │ └── plugin
│ │ │ └── test
│ │ │ ├── BaseKonanSpecification.groovy
│ │ │ ├── DefaultSpecification.groovy
│ │ │ ├── EnvVariableSpecification.groovy
│ │ │ ├── IncrementalSpecification.groovy
│ │ │ ├── KonanProject.groovy
│ │ │ ├── LibrarySpecification.groovy
│ │ │ ├── MultiplatformSpecification.groovy
│ │ │ ├── PathSpecification.groovy
│ │ │ ├── RegressionSpecification.groovy
│ │ │ └── TaskSpecification.groovy
│ │ └── kotlin
│ │ ├── CompatibilityTests.kt
│ │ ├── PropertiesAsEnvVariablesTest.kt
│ │ └── TaskTests.kt
├── performance-server
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ ├── package-lock.json
│ ├── package.json
│ ├── settings.gradle
│ ├── shared
│ │ └── src
│ │ │ └── main
│ │ │ └── kotlin
│ │ │ └── org
│ │ │ └── jetbrains
│ │ │ ├── buildInfo
│ │ │ └── BuildInfo.kt
│ │ │ ├── elastic
│ │ │ ├── ElasticSearchConnector.kt
│ │ │ └── ElasticSearchIndex.kt
│ │ │ └── network
│ │ │ ├── NetworkConnector.kt
│ │ │ └── UrlNetworkConnector.kt
│ ├── src
│ │ └── main
│ │ │ ├── kotlin-js
│ │ │ └── org
│ │ │ │ └── jetbrains
│ │ │ │ └── analyzer
│ │ │ │ └── Utils.kt
│ │ │ └── kotlin
│ │ │ ├── database
│ │ │ ├── BenchmarksIndexesDispatcher.kt
│ │ │ └── DatabaseRequests.kt
│ │ │ ├── main.kt
│ │ │ ├── network
│ │ │ ├── CachableResponseDispatcher.kt
│ │ │ └── aws
│ │ │ │ └── AWSNetworkUtils.kt
│ │ │ ├── routes
│ │ │ └── route.kt
│ │ │ └── utils
│ │ │ └── AsyncUtils.kt
│ └── ui
│ │ ├── build.gradle
│ │ ├── css
│ │ └── style.css
│ │ ├── index.ejs
│ │ ├── settings.gradle
│ │ └── src
│ │ └── main
│ │ └── kotlin
│ │ └── main.kt
├── qemu
│ ├── Dockerfile
│ ├── build.sh
│ ├── create_image.sh
│ └── run_container.sh
├── scripts
│ ├── repack_bundles.py
│ ├── update_apple_frameworks.sh
│ ├── update_xcode.sh
│ └── update_zephyr.sh
└── toolchain_builder
│ ├── Dockerfile
│ ├── README.md
│ ├── build_toolchain.sh
│ ├── create_image.sh
│ ├── patches
│ └── github_pull_1244.patch
│ ├── run_container.sh
│ └── toolchains
│ ├── aarch64-unknown-linux-gnu
│ └── gcc-8.3.0-glibc-2.25-kernel-4.9.config
│ ├── arm-unknown-linux-gnueabihf
│ └── gcc-8.3.0-glibc-2.19-kernel-4.9.config
│ ├── mips-unknown-linux-gnu
│ └── gcc-8.3.0-glibc-2.19-kernel-4.9.config
│ ├── mipsel-unknown-linux-gnu
│ └── gcc-8.3.0-glibc-2.19-kernel-4.9.config
│ └── x86_64-unknown-linux-gnu
│ └── gcc-8.3.0-glibc-2.19-kernel-4.9.config
└── utilities
├── basic-utils
├── build.gradle.kts
└── src
│ └── main
│ └── kotlin
│ ├── KonanHomeProvider.kt
│ └── NativeMemoryAllocator.kt
├── cli-runner
├── build.gradle
└── src
│ └── main
│ └── kotlin
│ └── org
│ └── jetbrains
│ └── kotlin
│ └── cli
│ └── utilities
│ ├── GeneratePlatformLibraries.kt
│ ├── InteropCompiler.kt
│ ├── LlvmClang.kt
│ └── main.kt
└── env_blacklist
/.gitmodules:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JetBrains/kotlin-native/9fb0a75ab17e9d8cddd2c3d1802a1cdd83774dfa/.gitmodules
--------------------------------------------------------------------------------
/.idea/codeStyles/codeStyleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/BUILDING_LLVM.md:
--------------------------------------------------------------------------------
1 | # Building LLVM for Kotlin/Native
2 |
3 | The content of this page is moved to https://github.com/JetBrains/kotlin/blob/master/kotlin-native/BUILDING_LLVM.md
4 |
--------------------------------------------------------------------------------
/COCOAPODS.md:
--------------------------------------------------------------------------------
1 | # CocoaPods integration
2 |
3 | The content of this page is moved to https://kotlinlang.org/docs/native-cocoapods.html
--------------------------------------------------------------------------------
/CODE_COVERAGE.md:
--------------------------------------------------------------------------------
1 | # Code Coverage
2 |
3 | The content of this page is moved to https://github.com/JetBrains/kotlin/blob/master/kotlin-native/CODE_COVERAGE.md
4 |
--------------------------------------------------------------------------------
/CONCURRENCY.md:
--------------------------------------------------------------------------------
1 | ## Concurrency in Kotlin/Native
2 |
3 | The content of this page is moved to https://kotlinlang.org/docs/native-concurrency.html
--------------------------------------------------------------------------------
/DEBUGGING.md:
--------------------------------------------------------------------------------
1 | ## Debugging
2 |
3 | The content of this page is moved to https://kotlinlang.org/docs/native-debugging.html
--------------------------------------------------------------------------------
/DISTRO_README.md:
--------------------------------------------------------------------------------
1 | The development of Kotlin/Native was moved to https://github.com/JetBrains/kotlin.
--------------------------------------------------------------------------------
/FAQ.md:
--------------------------------------------------------------------------------
1 | The content of this page is moved to https://kotlinlang.org/docs/native-faq.html
--------------------------------------------------------------------------------
/HACKING.md:
--------------------------------------------------------------------------------
1 | The content of this page is moved to https://github.com/JetBrains/kotlin/blob/master/kotlin-native/HACKING.md
2 |
--------------------------------------------------------------------------------
/IMMUTABILITY.md:
--------------------------------------------------------------------------------
1 | # Immutability in Kotlin/Native
2 |
3 | The content of this page is moved to https://kotlinlang.org/docs/native-immutability.html
--------------------------------------------------------------------------------
/INTEROP.md:
--------------------------------------------------------------------------------
1 | # _Kotlin/Native_ interoperability #
2 |
3 | The content of this page is moved to https://kotlinlang.org/docs/native-c-interop.html
--------------------------------------------------------------------------------
/IOS_SYMBOLICATION.md:
--------------------------------------------------------------------------------
1 | # Symbolicating iOS crash reports
2 |
3 | The content of this page is moved to https://kotlinlang.org/docs/native-ios-symbolication.html
--------------------------------------------------------------------------------
/Interop/Indexer/src/nativeInteropStubs/cpp/disable-abi-checks.cpp:
--------------------------------------------------------------------------------
1 | #ifdef __linux__
2 | namespace llvm {
3 | /**
4 | * http://lists.llvm.org/pipermail/llvm-dev/2017-January/109621.html
5 | * We can't rebuild llvm, but we can define symbol missed in llvm build.
6 | */
7 | int DisableABIBreakingChecks = 1;
8 | }
9 | #endif
10 |
--------------------------------------------------------------------------------
/Interop/StubGenerator/src/main/kotlin/org/jetbrains/kotlin/native/interop/gen/jvm/GenerationMode.kt:
--------------------------------------------------------------------------------
1 | package org.jetbrains.kotlin.native.interop.gen.jvm
2 |
3 | enum class GenerationMode(val modeName: String) {
4 | SOURCE_CODE("sourcecode"),
5 | METADATA("metadata");
6 |
7 | override fun toString(): String = modeName
8 | }
--------------------------------------------------------------------------------
/LIBRARIES.md:
--------------------------------------------------------------------------------
1 | # Kotlin/Native libraries
2 |
3 | The content of this page is moved to https://kotlinlang.org/docs/native-libraries.html
--------------------------------------------------------------------------------
/MULTIPLATFORM.md:
--------------------------------------------------------------------------------
1 | Please refer to the tutorial at https://kotlinlang.org/docs/reference/multiplatform.html for documentation on how to create multiplatform project.
2 |
--------------------------------------------------------------------------------
/OBJC_INTEROP.md:
--------------------------------------------------------------------------------
1 | # _Kotlin/Native_ interoperability with Swift/Objective-C
2 |
3 | The content of this page is moved to https://kotlinlang.org/docs/native-objc-interop.html
--------------------------------------------------------------------------------
/PLATFORM_LIBS.md:
--------------------------------------------------------------------------------
1 | # Platform libraries
2 |
3 | The content of this page is moved to https://kotlinlang.org/docs/native-platform-libs.html
--------------------------------------------------------------------------------
/RELEASE_NOTES.md:
--------------------------------------------------------------------------------
1 | The content of this page is moved to https://github.com/JetBrains/kotlin/blob/master/kotlin-native/RELEASE_NOTES.md
2 |
--------------------------------------------------------------------------------
/backend.native/compiler/ir/backend.native/resources/META-INF/services/org.jetbrains.kotlin.resolve.ExternalOverridabilityCondition:
--------------------------------------------------------------------------------
1 | org.jetbrains.kotlin.backend.konan.ObjCOverridabilityCondition
2 |
--------------------------------------------------------------------------------
/backend.native/llvm.list:
--------------------------------------------------------------------------------
1 | _Java_*
2 |
--------------------------------------------------------------------------------
/backend.native/tests/codegen/basics/companion.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | class A {
7 | companion object {
8 | fun foo() = "comp"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/backend.native/tests/codegen/devirtualization/getter_looking_as_box_function.kt:
--------------------------------------------------------------------------------
1 | class Foo(val box: String = "box")
2 |
3 | fun main() {
4 | println(Foo().box)
5 | }
--------------------------------------------------------------------------------
/backend.native/tests/codegen/devirtualization/lateinitInterface.kt:
--------------------------------------------------------------------------------
1 | interface I {
2 | fun foo(): Int
3 | }
4 |
5 | class A : I {
6 | override fun foo() = 42
7 | }
8 |
9 | fun main(args: Array) {
10 | lateinit var a: I
11 | if (args.size == 0)
12 | a = A()
13 | println(a.foo())
14 | }
--------------------------------------------------------------------------------
/backend.native/tests/codegen/enum/linkTest_lib.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | package a
7 |
8 | enum class A(val x: Int) {
9 | Z1(42),
10 | Z2(117),
11 | Z3(-1)
12 | }
--------------------------------------------------------------------------------
/backend.native/tests/codegen/function/extension.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | class B(val a: Int)
7 |
8 | fun B.foo() = this.a
--------------------------------------------------------------------------------
/backend.native/tests/codegen/initializers/linkTest1_lib.kt:
--------------------------------------------------------------------------------
1 | val a = 10
2 | val b = a * 6
3 | val c = a * b * 2
--------------------------------------------------------------------------------
/backend.native/tests/codegen/initializers/linkTest1_main.kt:
--------------------------------------------------------------------------------
1 | fun main() = println(c)
--------------------------------------------------------------------------------
/backend.native/tests/codegen/initializers/linkTest2_lib.kt:
--------------------------------------------------------------------------------
1 | val a = mutableListOf()
2 | val b = 1.also { a += 2 }
3 | val c = a.single()
--------------------------------------------------------------------------------
/backend.native/tests/codegen/initializers/linkTest2_main.kt:
--------------------------------------------------------------------------------
1 | fun main() = println(c)
--------------------------------------------------------------------------------
/backend.native/tests/codegen/initializers/sharedVarInInitBlock_lib.kt:
--------------------------------------------------------------------------------
1 | class A {
2 | val x: Int
3 |
4 | init {
5 | var y = 10
6 |
7 | fun foo() { y = 42 }
8 |
9 | foo()
10 |
11 | x = y
12 | }
13 | }
--------------------------------------------------------------------------------
/backend.native/tests/codegen/initializers/sharedVarInInitBlock_main.kt:
--------------------------------------------------------------------------------
1 | import kotlin.test.*
2 |
3 | fun main() = assertEquals(42, (A().x))
--------------------------------------------------------------------------------
/backend.native/tests/codegen/inline/defaultArgs_linkTest_lib.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | package a
7 |
8 | inline fun foo(x: Int, y: Int = 117) = x + y
--------------------------------------------------------------------------------
/backend.native/tests/codegen/inline/inlineCtor_linkTest_main.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | import a.*
7 | import kotlin.test.*
8 |
9 | fun main() {
10 | assertEquals(42, foo(7) { it * 2 })
11 | }
--------------------------------------------------------------------------------
/backend.native/tests/codegen/inline/sharedVar_linkTest_main.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | import a.*
7 |
8 | fun main() {
9 | println(fold(0, intArrayOf(1, 2, 3)) { x, y -> x + y })
10 | }
--------------------------------------------------------------------------------
/backend.native/tests/codegen/innerClass/linkTest_lib.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | open class A {
7 | open inner class Inner {
8 | val x = 42
9 | }
10 | }
--------------------------------------------------------------------------------
/backend.native/tests/codegen/object/constructor.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | package codegen.`object`.constructor
7 |
8 | class A()
9 |
10 | class B(val a:Int)
11 |
12 | class C(val a:Int, b:Int)
--------------------------------------------------------------------------------
/backend.native/tests/codegen/propertyCallableReference/linkTest_lib.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | package a
7 |
8 | class A(val x: Int)
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/README.md:
--------------------------------------------------------------------------------
1 | These tests aren't invoked so far because there is no mechanism of checking compilation errors yet.
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t1.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 |
3 | fun foo(x: Int, vararg s: String): Int {
4 | var sum = x
5 | s.forEach { sum += it.length }
6 | return sum
7 | }
8 |
9 | fun bar() {
10 | staticCFunction(::foo)
11 | }
12 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t10.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 |
3 | fun foo(f: Function1<*, Int>) = f
4 |
5 | fun bar() {
6 | staticCFunction(::foo)
7 | }
8 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t11.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 |
3 | fun foo(f: Function1) = f
4 |
5 | fun bar() {
6 | staticCFunction(::foo)
7 | }
8 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t12.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 |
3 | fun foo(x: CValue<*>?) = x
4 |
5 | fun bar() {
6 | staticCFunction(::foo)
7 | }
8 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t13.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 |
3 | fun bar() {
4 |
5 | fun foo(x: CValue) = x
6 |
7 | staticCFunction(::foo)
8 | }
9 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t14.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 |
3 | class Z(rawPtr: NativePtr): CStructVar(rawPtr)
4 |
5 | fun foo(x: CValue) = x
6 |
7 | fun bar() {
8 | staticCFunction(::foo)
9 | }
10 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t15.kt:
--------------------------------------------------------------------------------
1 | import platform.darwin.*
2 | import platform.Foundation.*
3 |
4 | fun foo() = NSLog("zzz", {})
5 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t16.kt:
--------------------------------------------------------------------------------
1 | import platform.darwin.*
2 | import platform.Foundation.*
3 |
4 | class Z
5 |
6 | fun foo() = NSLog("zzz", Z())
7 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t17.kt:
--------------------------------------------------------------------------------
1 | import platform.darwin.*
2 | import platform.Foundation.*
3 |
4 | class Foo : NSObject(), NSPortDelegateProtocol {
5 | fun foo() {
6 | super.handlePortMessage(TODO())
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t18.kt:
--------------------------------------------------------------------------------
1 | import platform.darwin.*
2 |
3 | class Foo : NSObject() {
4 | companion object : NSObjectMeta() {
5 | fun bar() {
6 | super.hash()
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t2.kt:
--------------------------------------------------------------------------------
1 | import platform.darwin.*
2 | import platform.Foundation.*
3 |
4 | class Zzz : NSAssertionHandler() {
5 | override fun handleFailureInFunction(functionName: String, file: String, lineNumber: NSInteger /* = Long */, description: String?, vararg args: Any?) { }
6 | }
7 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t20.kt:
--------------------------------------------------------------------------------
1 | import platform.darwin.*
2 | import platform.Foundation.*
3 |
4 | interface Zzz : NSCopyingProtocolMeta
5 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t21.kt:
--------------------------------------------------------------------------------
1 | import platform.darwin.*
2 | import platform.Foundation.*
3 |
4 | open class Zzz : NSAssertionHandler()
5 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t22.kt:
--------------------------------------------------------------------------------
1 | import platform.darwin.*
2 | import platform.Foundation.*
3 |
4 | class Zzz : NSAssertionHandler() {
5 | companion object {
6 | val Z = 42
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t23.kt:
--------------------------------------------------------------------------------
1 | import platform.darwin.*
2 | import platform.Foundation.*
3 |
4 | interface I
5 |
6 | class Zzz : NSAssertionHandler(), I
7 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t24.kt:
--------------------------------------------------------------------------------
1 | import platform.darwin.*
2 | import platform.Foundation.*
3 |
4 | class Zzz : NSCopyingProtocolMeta
5 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t25.kt:
--------------------------------------------------------------------------------
1 | import platform.darwin.*
2 | import platform.Foundation.*
3 |
4 | class Zzz : NSAssertionHandler() {
5 | override fun toString() = "zzz"
6 | }
7 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t26.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 | import platform.darwin.*
3 | import platform.Foundation.*
4 |
5 | class Zzz : NSAssertionHandler() {
6 | @ObjCAction
7 | fun String.foo() = println(this)
8 | }
9 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t27.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 | import platform.darwin.*
3 | import platform.Foundation.*
4 |
5 | class Zzz : NSAssertionHandler() {
6 | @ObjCAction
7 | fun foo(x: String) = println(x)
8 | }
9 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t28.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 | import platform.darwin.*
3 | import platform.Foundation.*
4 |
5 | class Zzz : NSAssertionHandler() {
6 | @ObjCAction
7 | fun foo() = 42
8 | }
9 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t29.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 | import platform.darwin.*
3 | import platform.Foundation.*
4 |
5 | class Zzz : NSAssertionHandler() {
6 | @ObjCOutlet
7 | val x: NSObject get() = this
8 | }
9 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t3.kt:
--------------------------------------------------------------------------------
1 | import platform.posix.*
2 |
3 | fun main() {
4 | println(::printf)
5 | }
6 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t30.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 | import platform.darwin.*
3 | import platform.Foundation.*
4 |
5 | class Zzz : NSAssertionHandler() {
6 | @ObjCOutlet
7 | var NSObject.x: NSObject
8 | get() = this
9 | set(value: NSObject) { }
10 | }
11 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t31.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 | import platform.darwin.*
3 | import platform.Foundation.*
4 |
5 | class Zzz : NSAssertionHandler() {
6 | @ObjCOutlet
7 | var x: String
8 | get() = "zzz"
9 | set(value: String) { }
10 | }
11 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t32.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 | import platform.darwin.*
3 | import platform.Foundation.*
4 |
5 | class Zzz : NSAssertionHandler {
6 | @OverrideInit
7 | constructor(x: Int) { }
8 | }
9 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t33.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 | import platform.darwin.*
3 | import platform.Foundation.*
4 |
5 | class Zzz : NSString {
6 | @OverrideInit
7 | constructor(coder: NSCoder) { }
8 |
9 | override fun initWithCoder(coder: NSCoder): String? = "zzz"
10 | }
11 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t34.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 | import platform.darwin.*
3 | import platform.Foundation.*
4 |
5 | class Zzz : NSAssertionHandler() {
6 | @ObjCAction
7 | fun foo(x: NSObject, y: NSObject, z: NSObject) { }
8 | }
9 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t35.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 | import platform.darwin.*
3 | import platform.Foundation.*
4 |
5 | class Zzz : NSValue()
6 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t36.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 | import platform.posix.*
3 |
4 | fun foo() = stat(malloc(42)!!.rawValue)
5 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t4.kt:
--------------------------------------------------------------------------------
1 | import platform.darwin.*
2 | import platform.Foundation.*
3 |
4 | fun foo() = println(NSAssertionHandler()::handleFailureInFunction)
5 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t40.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 |
3 | class Z {
4 | fun foo(x: Int) = x
5 | }
6 |
7 | fun bar() {
8 | staticCFunction(Z()::foo)
9 | }
10 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t41.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 |
3 | fun bar(x: Int) {
4 |
5 | fun foo() = x
6 |
7 | staticCFunction(::foo)
8 | }
9 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t42.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 |
3 | fun foo(x: Any) = x
4 |
5 | fun bar() {
6 | staticCFunction(::foo)
7 | }
8 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t43.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 |
3 | fun bar(x: Float) = x.signExtend()
4 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t44.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 |
3 | fun bar(x: Int) = x.signExtend()
4 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t45.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 |
3 | fun bar(x: Int) = x.signExtend()
4 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t46.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 |
3 | fun bar(x: Int) = x.narrow()
4 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t47.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 |
3 | fun bar(x: Int) = x.convert()
4 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t48.kt:
--------------------------------------------------------------------------------
1 | import kotlin.native.concurrent.*
2 |
3 | class Z(val x: Int) {
4 | fun bar(s: String) = s + x.toString()
5 | }
6 |
7 | fun foo(x: Int) {
8 | val worker = Worker.start()
9 | worker.execute(TransferMode.SAFE, { "zzz" }, Z(x)::bar)
10 | }
11 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t49.kt:
--------------------------------------------------------------------------------
1 | import kotlin.native.concurrent.*
2 |
3 | fun foo(x: Int) {
4 | val worker = Worker.start()
5 | worker.execute(TransferMode.SAFE, { "zzz" }) { s -> s + x.toString() }
6 | }
7 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t5.kt:
--------------------------------------------------------------------------------
1 | import platform.darwin.*
2 | import platform.Foundation.*
3 |
4 | fun foo() = NSAssertionHandler().handleFailureInFunction("zzz", "zzz", 0L, null, "qzz")
5 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t50.kt:
--------------------------------------------------------------------------------
1 | import kotlin.native.concurrent.*
2 |
3 | class Z(val x: Int) {
4 | fun bar(s: String) = s + x.toString()
5 | }
6 |
7 | class Q(x: Int) {
8 | init {
9 | val worker = Worker.start()
10 | worker.execute(TransferMode.SAFE, { "zzz" }, Z(x)::bar)
11 | }
12 | }
13 |
14 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t51.kt:
--------------------------------------------------------------------------------
1 | import kotlin.native.concurrent.*
2 |
3 | class Z(val x: Int) {
4 | fun bar(s: String) = s + x.toString()
5 | }
6 |
7 | class Q(x: Int) {
8 | val z = Worker.start().execute(TransferMode.SAFE, { "zzz" }, Z(x)::bar)
9 | }
10 |
11 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t52.kt:
--------------------------------------------------------------------------------
1 | import kotlin.native.internal.*
2 |
3 | @OptIn(kotlin.ExperimentalStdlibApi::class)
4 | fun foo(x: Int) {
5 | createCleaner(42) { println(x) }
6 | }
7 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t53.kt:
--------------------------------------------------------------------------------
1 | import kotlin.native.internal.*
2 |
3 | class C(val x: Int) {
4 | fun bar(y: Int) = println(x + y)
5 | }
6 |
7 | @OptIn(kotlin.ExperimentalStdlibApi::class)
8 | fun foo(x: Int) {
9 | createCleaner(42, C(x)::bar)
10 | }
11 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t54.kt:
--------------------------------------------------------------------------------
1 | fun foo(arr: ShortArray) = immutableBlobOf(*arr)
2 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t55.kt:
--------------------------------------------------------------------------------
1 | fun foo(x: Short) = immutableBlobOf(x)
2 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t56.kt:
--------------------------------------------------------------------------------
1 | fun foo() = immutableBlobOf(1000)
2 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t57.kt:
--------------------------------------------------------------------------------
1 | fun foo() = immutableBlobOf()
2 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t58.kt:
--------------------------------------------------------------------------------
1 | import kotlin.reflect.*
2 |
3 | @OptIn(kotlin.ExperimentalStdlibApi::class)
4 | fun > foo() {
5 | typeOf>()
6 | }
7 |
8 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t59.kt:
--------------------------------------------------------------------------------
1 | import kotlin.reflect.*
2 |
3 | @OptIn(kotlin.ExperimentalStdlibApi::class)
4 | inline fun > foo() {
5 | typeOf>()
6 | }
7 |
8 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t6.kt:
--------------------------------------------------------------------------------
1 | import platform.darwin.*
2 | import platform.Foundation.*
3 |
4 | fun foo(s: Array) = NSAssertionHandler().handleFailureInFunction("zzz", "zzz", 0L, null, *s)
5 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t60.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 |
3 | class Vertex constructor(rawPtr: NativePtr) : CStructVar(rawPtr) {
4 | var x: Float = 0f
5 | var y: Float = 0f
6 | var r: Float = 0f
7 | var g: Float = 0f
8 | var b: Float = 0f
9 | companion object : CStructVar.Type(40, 8)
10 | }
11 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t7.kt:
--------------------------------------------------------------------------------
1 | import platform.darwin.*
2 | import platform.Foundation.*
3 |
4 | fun foo(s: Array) = NSLog("zzz", *s)
5 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t8.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 |
3 | fun foo(f: Function0<*>) = f
4 |
5 | fun bar() {
6 | staticCFunction(::foo)
7 | }
8 |
--------------------------------------------------------------------------------
/backend.native/tests/compilerChecks/t9.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 |
3 | fun foo(f: Function0) = f
4 |
5 | fun bar() {
6 | staticCFunction(::foo)
7 | }
8 |
--------------------------------------------------------------------------------
/backend.native/tests/coverage/basic/library/library.kt:
--------------------------------------------------------------------------------
1 | package coverage_library
2 |
3 | fun foo() = "foo"
--------------------------------------------------------------------------------
/backend.native/tests/coverage/basic/library/main.kt:
--------------------------------------------------------------------------------
1 | package coverage.basic.library
2 |
3 | fun main() {
4 | println(coverage_library.foo())
5 | }
--------------------------------------------------------------------------------
/backend.native/tests/coverage/basic/program/main.kt:
--------------------------------------------------------------------------------
1 | package coverage.basic.program
2 |
3 | fun main() {
4 | println("OK")
5 | }
--------------------------------------------------------------------------------
/backend.native/tests/coverage/basic/smoke0/smoke0.kt:
--------------------------------------------------------------------------------
1 | package coverage.basic.smoke0
2 |
3 | data class User(val name: String)
4 |
5 | fun main() {
6 | val user = User("Happy Kotlin/Native user")
7 | println(user)
8 | }
--------------------------------------------------------------------------------
/backend.native/tests/external/codegen/box/properties/lateinit/accessor.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 |
--------------------------------------------------------------------------------
/backend.native/tests/framework/gh3343/objclib.def:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | headers = Foundation/NSArray.h Foundation/NSValue.h Foundation/NSString.h
3 | headerFilter = **/objclib.h Foundation/NSArray.h Foundation/NSValue.h Foundation/NSString.h
4 |
--------------------------------------------------------------------------------
/backend.native/tests/framework/gh3343/objclib.h:
--------------------------------------------------------------------------------
1 | #import
2 |
3 | NSString* foo1(int x) {
4 | return [NSString stringWithFormat:@"%d", x];
5 | }
6 |
7 | NSArray* foo2(int x) {
8 | NSValue* xx = @(x);
9 | NSString* s = @"zzz";
10 | return [NSArray arrayWithObjects: xx, s, nil];
11 | }
--------------------------------------------------------------------------------
/backend.native/tests/framework/kt43517/kt43517.def:
--------------------------------------------------------------------------------
1 | ---
2 | enum E {
3 | A, B, C
4 | };
5 |
6 | struct S {
7 | int i;
8 | float f;
9 | };
10 |
11 | struct S globalS = { .i = 3, .f = 3.14f };
12 |
13 | enum E createEnum() {
14 | return A;
15 | }
16 |
--------------------------------------------------------------------------------
/backend.native/tests/framework/kt43517/kt43517.kt:
--------------------------------------------------------------------------------
1 | import kt43517.*
2 |
3 | fun produceEnum(): E =
4 | createEnum()
5 |
6 | fun compareEnums(e1: E, e2: E): Boolean =
7 | e1 == e2
8 |
9 | fun getFirstField(s: S): Int =
10 | s.i
11 |
12 | fun getGlobalS(): S =
13 | globalS
--------------------------------------------------------------------------------
/backend.native/tests/framework/multiple/framework1/test.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | @file:Suppress("UNUSED")
7 |
8 | package multiple
9 |
10 | val name = "first"
--------------------------------------------------------------------------------
/backend.native/tests/framework/multiple/framework2/test.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | @file:Suppress("UNUSED")
7 |
8 | package multiple
9 |
10 | val name = "second"
--------------------------------------------------------------------------------
/backend.native/tests/interop/auxiliary_sources/auxiliaryCppSources.def:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JetBrains/kotlin-native/9fb0a75ab17e9d8cddd2c3d1802a1cdd83774dfa/backend.native/tests/interop/auxiliary_sources/auxiliaryCppSources.def
--------------------------------------------------------------------------------
/backend.native/tests/interop/auxiliary_sources/main.kt:
--------------------------------------------------------------------------------
1 | import auxiliaryCppSources.*
2 | import kotlin.test.*
3 | import kotlinx.cinterop.*
4 |
5 | fun main() {
6 | assertEquals(name()!!.toKString(), "Hello from C++")
7 | }
--------------------------------------------------------------------------------
/backend.native/tests/interop/auxiliary_sources/name.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include "name.h"
3 |
4 | static std::string _name = "Hello from C++";
5 |
6 | const char* name() {
7 | return _name.c_str();
8 | }
--------------------------------------------------------------------------------
/backend.native/tests/interop/auxiliary_sources/name.h:
--------------------------------------------------------------------------------
1 | #ifdef __cplusplus
2 | extern "C" {
3 | #endif
4 |
5 | const char* name();
6 |
7 | #ifdef __cplusplus
8 | }
9 | #endif
--------------------------------------------------------------------------------
/backend.native/tests/interop/basics/2.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | import cstdio.*
7 |
8 | fun main(args: Array) {
9 | puts("Hello")
10 | }
--------------------------------------------------------------------------------
/backend.native/tests/interop/basics/carrayPointers.def:
--------------------------------------------------------------------------------
1 | ---
2 | int (*arrayPointer)[1];
3 |
4 | int globalArray[3] = {1, 2, 3};
5 |
6 | struct StructWithArrayPtr {
7 | int (*arrayPointer)[1];
8 | };
--------------------------------------------------------------------------------
/backend.native/tests/interop/basics/cenums.def:
--------------------------------------------------------------------------------
1 | ---
2 | enum E {
3 | A, B, C
4 | };
--------------------------------------------------------------------------------
/backend.native/tests/interop/basics/cstdio.def:
--------------------------------------------------------------------------------
1 | headers = stdio.h
2 | compilerOpts.osx = -D_ANSI_SOURCE
3 |
4 | ---
5 |
6 | static inline FILE* getStdout() {
7 | return stdout;
8 | }
--------------------------------------------------------------------------------
/backend.native/tests/interop/basics/ctoKString.def:
--------------------------------------------------------------------------------
1 | ---
2 | const char* empty() { return ""; }
3 | const char* foo() { return "foo"; }
4 | const char* kuku() { return "куку"; }
5 | const char* invalid_utf8() { return "\x85\xAF"; }
6 | const char* zero_in_the_middle() { return "before zero\0after zero"; }
7 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/basics/custom headers/custom.h:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 |
5 | int custom_strcmp(const char* str1, const char* str2) {
6 | return strcmp(str1, str2);
7 | }
--------------------------------------------------------------------------------
/backend.native/tests/interop/basics/cvalues.def:
--------------------------------------------------------------------------------
1 | ---
2 | _Bool isNullString(const char* str) {
3 | return str == (const char*)0;
4 | }
5 |
6 | typedef const short* LPCWSTR;
7 |
8 | _Bool isNullWString(LPCWSTR str) {
9 | return str == (LPCWSTR)0;
10 | }
11 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/basics/mangling.def:
--------------------------------------------------------------------------------
1 | ---
2 |
3 | // test mangling of special names
4 |
5 | enum _Companion {Companion, Any};
6 | enum _Companion companion = Companion;
7 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/basics/mangling.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 | import kotlin.test.*
3 | import mangling.*
4 |
5 | fun main() {
6 | companion = _Companion.`Companion$`
7 | assertEquals(_Companion.`Companion$`, companion)
8 | }
9 |
10 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/basics/mangling2.def:
--------------------------------------------------------------------------------
1 | ---
2 |
3 | // test mangling of special names
4 |
5 | enum Companion {One, Two};
6 |
7 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/basics/mangling2.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 | import kotlin.test.*
3 | import mangling2.*
4 |
5 | fun main() {
6 | val mangled = `Companion$`.Two
7 | assertEquals(`Companion$`.Two, mangled)
8 | }
9 |
10 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/basics/typedefs.def:
--------------------------------------------------------------------------------
1 | ---
2 | typedef int my_int;
--------------------------------------------------------------------------------
/backend.native/tests/interop/basics/unable_to_import.def:
--------------------------------------------------------------------------------
1 | ---
2 | int global;
3 | #define global bad macro
4 |
5 | void foo(void);
6 | #define foo <
7 |
8 | // Setter for x should not be generated.
9 | typedef const int cint;
10 | cint x;
11 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/basics/values.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 | import kotlin.test.*
3 | import cvalues.*
4 |
5 | fun main() {
6 | assertTrue(isNullString(null))
7 | assertTrue(isNullWString(null))
8 | assertFalse(isNullString("a"))
9 | assertFalse(isNullWString("b"))
10 | }
--------------------------------------------------------------------------------
/backend.native/tests/interop/concurrentTerminate/async.h:
--------------------------------------------------------------------------------
1 | #ifdef __cplusplus
2 | extern "C" {
3 | #endif
4 |
5 | int test_ConcurrentTerminate();
6 |
7 | #ifdef __cplusplus
8 | }
9 | #endif
10 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/concurrentTerminate/concurrentTerminate.def:
--------------------------------------------------------------------------------
1 | package async
2 |
3 | ---
4 |
5 | int test_ConcurrentTerminate();
6 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/concurrentTerminate/main.kt:
--------------------------------------------------------------------------------
1 | import async.*
2 | import kotlinx.cinterop.*
3 |
4 | fun main() {
5 | test_ConcurrentTerminate()
6 | println("This is not expected.")
7 | }
--------------------------------------------------------------------------------
/backend.native/tests/interop/concurrentTerminate/reverseInterop.kt:
--------------------------------------------------------------------------------
1 | import kotlin.system.exitProcess
2 |
3 | fun testTerminate() {
4 | throw RuntimeException("Example")
5 | }
--------------------------------------------------------------------------------
/backend.native/tests/interop/embedStaticLibraries/1.c:
--------------------------------------------------------------------------------
1 | int get1() {
2 | return 1;
3 | }
4 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/embedStaticLibraries/2.c:
--------------------------------------------------------------------------------
1 | int get2() {
2 | return 2;
3 | }
4 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/embedStaticLibraries/3.c:
--------------------------------------------------------------------------------
1 | int get3() {
2 | return 3;
3 | }
4 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/embedStaticLibraries/4.c:
--------------------------------------------------------------------------------
1 | int get4() {
2 | return 4;
3 | }
4 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/embedStaticLibraries/embedStaticLibraries.def:
--------------------------------------------------------------------------------
1 | libraryPaths = backend.native/tests/build/embedStaticLibraries
2 | staticLibraries = 3.a 4.a
3 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/embedStaticLibraries/embedStaticLibraries.h:
--------------------------------------------------------------------------------
1 | int get1(void);
2 | int get2(void);
3 | int get3(void);
4 | int get4(void);
5 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/embedStaticLibraries/main.kt:
--------------------------------------------------------------------------------
1 | import kotlin.test.*
2 | import embedStaticLibraries.*
3 |
4 | fun main() {
5 | assertEquals(1, get1())
6 | assertEquals(2, get2())
7 | assertEquals(3, get3())
8 | assertEquals(4, get4())
9 | }
10 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/incomplete_types/library.def:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JetBrains/kotlin-native/9fb0a75ab17e9d8cddd2c3d1802a1cdd83774dfa/backend.native/tests/interop/incomplete_types/library.def
--------------------------------------------------------------------------------
/backend.native/tests/interop/kt43265/usage.kt:
--------------------------------------------------------------------------------
1 | import kt43265.*
2 | import kotlin.test.*
3 |
4 | fun main() {
5 | assertEquals(bcm2835FunctionSelect.BCM2835_GPIO_FSEL_ALT3, bcm2835FunctionSelect.BCM2835_GPIO_FSEL_MASK)
6 | }
--------------------------------------------------------------------------------
/backend.native/tests/interop/kt43502/kt43502.c:
--------------------------------------------------------------------------------
1 | char **externPtr = 0;
--------------------------------------------------------------------------------
/backend.native/tests/interop/kt43502/kt43502.def:
--------------------------------------------------------------------------------
1 | libraryPaths = backend.native/tests/build/kt43502
2 | staticLibraries = kt43502.a
--------------------------------------------------------------------------------
/backend.native/tests/interop/kt43502/kt43502.h:
--------------------------------------------------------------------------------
1 | extern char **externPtr;
--------------------------------------------------------------------------------
/backend.native/tests/interop/kt43502/main.c:
--------------------------------------------------------------------------------
1 | #include "testlib_api.h"
2 |
3 | int main() {
4 | testlib_symbols()->kotlin.root.printExternPtr();
5 | }
--------------------------------------------------------------------------------
/backend.native/tests/interop/kt43502/main.kt:
--------------------------------------------------------------------------------
1 | import kt43502.*
2 |
3 | fun printExternPtr() {
4 | println(externPtr)
5 | }
--------------------------------------------------------------------------------
/backend.native/tests/interop/leakMemoryWithRunningThread/leakMemory.def:
--------------------------------------------------------------------------------
1 | package leakMemory
2 |
3 | ---
4 |
5 | void test_RunInNewThread(void (*)());
6 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/leakMemoryWithRunningThread/leakMemory.h:
--------------------------------------------------------------------------------
1 | #ifdef __cplusplus
2 | extern "C" {
3 | #endif
4 |
5 | void test_RunInNewThread(void (*)());
6 |
7 | #ifdef __cplusplus
8 | }
9 | #endif
10 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/foreignException/objcExceptionMode.def:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | headerFilter = **/objc_wrap.h
3 | linkerOpts = -lobjcexception
4 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/foreignException/objc_wrap.def:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | headerFilter = **/objc_wrap.h
3 | linkerOpts = -lobjcexception
4 | foreignExceptionMode = objc-wrap
5 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/foreignException/objc_wrap.h:
--------------------------------------------------------------------------------
1 | #import
2 |
3 | void raiseExc(id name, id reason);
4 | id logExc(id exception);
5 |
6 | @interface Foo : NSObject
7 | - (void)instanceMethodThrow:(id)name reason:(id)reason;
8 | + (void)classMethodThrow:(id)name reason:(id)reason;
9 | @end
10 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/illegal_sharing_with_weak/objclib.def:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | headerFilter = **/objclib.h
3 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/kt34467/foo.h:
--------------------------------------------------------------------------------
1 | #define ANSWER 42
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/kt34467/foo.kt:
--------------------------------------------------------------------------------
1 | import module_library.*
2 |
3 | fun main() {
4 | println("OK")
5 | println(ANSWER)
6 | }
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/kt34467/module_library.def:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | modules = module_library
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/kt34467/module_library.modulemap:
--------------------------------------------------------------------------------
1 | module module_library {
2 | umbrella header "module_library_umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/kt34467/module_library_umbrella.h:
--------------------------------------------------------------------------------
1 | #import
2 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/kt42172/objclib.def:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | headerFilter = **/objclib.h
3 | linkerOpts = -lobjc_kt42172
4 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/kt42172/objclib.h:
--------------------------------------------------------------------------------
1 | #import
2 |
3 | typedef void (*Finalizer)(void*);
4 |
5 | @interface WithFinalizer : NSObject
6 |
7 | - (void)setFinalizer:(Finalizer)finalizer arg:(void*)arg;
8 |
9 | @end
10 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/msg_send/messaging.def:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | headerFilter = **/messaging.h
3 | linkerOpts = -lobjcmessaging
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/KT38234_override.h:
--------------------------------------------------------------------------------
1 | #import
2 |
3 | @protocol KT38234_P1
4 | -(int)foo;
5 | @end;
6 |
7 | @interface KT38234_Base : NSObject
8 | -(int)callFoo;
9 | @end;
10 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/KT38234_override.kt:
--------------------------------------------------------------------------------
1 | import kotlin.test.*
2 | import objcTests.*
3 |
4 | class KT38234_Impl : KT38234_P1Protocol, KT38234_Base() {
5 | override fun foo(): Int = 566
6 | }
7 |
8 | @Test fun testKT38234() {
9 | assertEquals(566, KT38234_Impl().callFoo())
10 | }
11 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/KT38234_override.m:
--------------------------------------------------------------------------------
1 | #include "KT38234_override.h"
2 |
3 | @implementation KT38234_Base
4 | -(int)foo {
5 | return 1;
6 | }
7 | -(int)callFoo {
8 | return [self foo];
9 | }
10 | @end;
11 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/allocNoRetain.h:
--------------------------------------------------------------------------------
1 | #import
2 |
3 | @interface TestAllocNoRetain : NSObject
4 | @property BOOL ok;
5 | @end;
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/callableReferences.h:
--------------------------------------------------------------------------------
1 | #import
2 |
3 | @interface TestCallableReferences : NSObject
4 | @property int value;
5 | - (int)instanceMethod;
6 | + (int)classMethod:(int)first :(int)second;
7 | @end;
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/callableReferences.m:
--------------------------------------------------------------------------------
1 | #import "callableReferences.h"
2 |
3 | @implementation TestCallableReferences
4 | - (int)instanceMethod {
5 | return self.value;
6 | }
7 |
8 | + (int)classMethod:(int)first :(int)second {
9 | return first + second;
10 | }
11 | @end;
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/constructorReturnsNull.h:
--------------------------------------------------------------------------------
1 | #import
2 |
3 | @interface TestConstructorReturnsNull : NSObject
4 | - (instancetype)init;
5 | @end;
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/constructorReturnsNull.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 | import kotlin.test.*
3 | import objcTests.*
4 |
5 | @Test fun testConstructorReturnsNull() {
6 | assertFailsWith() {
7 | TestConstructorReturnsNull()
8 | }
9 | }
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/constructorReturnsNull.m:
--------------------------------------------------------------------------------
1 | #import "constructorReturnsNull.h"
2 |
3 | @implementation TestConstructorReturnsNull
4 | - (instancetype)init {
5 | return nil;
6 | }
7 | @end;
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/exceptions.h:
--------------------------------------------------------------------------------
1 | #import
2 |
3 | @protocol ExceptionThrower
4 | -(void)throwException;
5 | @end;
6 |
7 | @interface ExceptionThrowerManager : NSObject
8 | +(void)throwExceptionWith:(id)thrower;
9 | @end;
10 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/exceptions.m:
--------------------------------------------------------------------------------
1 | #import "exceptions.h"
2 |
3 | @implementation ExceptionThrowerManager
4 | +(void)throwExceptionWith:(id)thrower {
5 | [thrower throwException];
6 | }
7 | @end;
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/initWithCustomSelector.h:
--------------------------------------------------------------------------------
1 | #import
2 |
3 | @interface TestInitWithCustomSelector : NSObject
4 | -(instancetype)initCustom;
5 | @property BOOL custom;
6 |
7 | +(instancetype _Nonnull)createCustom;
8 | @end;
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/kt36766.h:
--------------------------------------------------------------------------------
1 | void kt36766(void (^block)()) {}
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/kt36766.kt:
--------------------------------------------------------------------------------
1 | import kotlin.test.*
2 | import objcTests.*
3 |
4 | @Test fun testKt36766() {
5 | kt36766(null)
6 | }
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/kt42482.h:
--------------------------------------------------------------------------------
1 | #import
2 |
3 | extern BOOL kt42482Deallocated;
4 | extern id kt42482Global;
5 |
6 | @interface KT42482 : NSObject
7 | -(int)fortyTwo;
8 | @end;
9 |
10 | void kt42482Swizzle(id obj);
11 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/mangling.m:
--------------------------------------------------------------------------------
1 | #import "mangling.h"
2 |
3 | // [KT-36067] mangling
4 | @implementation FooMangled : NSObject
5 | @synthesize Companion;
6 | @end;
7 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/multipleInheritanceClash.m:
--------------------------------------------------------------------------------
1 | #import "multipleInheritanceClash.h"
2 |
3 | @implementation MultipleInheritanceClashBase
4 | @end;
5 |
6 | @implementation MultipleInheritanceClash1
7 | @end;
8 |
9 | @implementation MultipleInheritanceClash2
10 | @end;
11 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/nsOutputStream.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 | import kotlin.test.*
3 | import objcTests.*
4 |
5 | @Test fun testNSOutputStreamToMemoryConstructor() {
6 | val stream: Any = NSOutputStream(toMemory = Unit)
7 | assertTrue(stream is NSOutputStream)
8 | }
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/objcWeakRefs.m:
--------------------------------------------------------------------------------
1 | #import "objcWeakRefs.h"
2 |
3 | @implementation DeallocExecutor
4 | -(void)dealloc {
5 | self.deallocListener.deallocated = YES;
6 | }
7 | @end;
8 |
9 | @implementation DeallocListener
10 | -(BOOL)deallocExecutorIsNil {
11 | return self.deallocExecutor == nil;
12 | }
13 | @end;
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/overrideInit.h:
--------------------------------------------------------------------------------
1 | #import
2 |
3 | @interface TestOverrideInit : NSObject
4 | -(instancetype)initWithValue:(int)value NS_DESIGNATED_INITIALIZER;
5 | +(instancetype)createWithValue:(int)value;
6 | @end;
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/overrideInit.m:
--------------------------------------------------------------------------------
1 | #import "overrideInit.h"
2 |
3 | @implementation TestOverrideInit
4 | -(instancetype)initWithValue:(int)value {
5 | return self = [super init];
6 | }
7 |
8 | +(instancetype)createWithValue:(int)value {
9 | return [[self alloc] initWithValue:value];
10 | }
11 | @end;
12 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/tryRetainGC.h:
--------------------------------------------------------------------------------
1 | #import
2 |
3 | @interface WeakRefHolder : NSObject
4 | @property (weak) id obj;
5 | -(void)loadManyTimes;
6 | @end;
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/tryRetainGC.m:
--------------------------------------------------------------------------------
1 | #import "tryRetainGC.h"
2 | #import
3 |
4 | @implementation WeakRefHolder
5 | -(void)loadManyTimes {
6 | NSMutableArray* array = [NSMutableArray new];
7 | for (int i = 0; i < 10000; ++i) {
8 | [array addObject:self.obj];
9 | }
10 | }
11 | @end;
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/weakRefs.h:
--------------------------------------------------------------------------------
1 | #import
2 |
3 | NSObject* createNSObject() {
4 | return [NSObject new];
5 | }
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc/tests/workerAutoreleasePool.h:
--------------------------------------------------------------------------------
1 | #import
2 |
3 | @interface CreateAutoreleaseDeallocated : NSObject
4 | @property BOOL value;
5 | @end;
6 |
7 | @interface CreateAutorelease : NSObject
8 | +(void)createAutorelease:(CreateAutoreleaseDeallocated*)deallocated;
9 | @end;
10 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc_with_initializer/objc_misc.def:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | headers = Foundation/NSArray.h Foundation/NSValue.h Foundation/NSString.h
3 | headerFilter = **/objc_misc.h Foundation/NSArray.h Foundation/NSValue.h Foundation/NSString.h
4 | linkerOpts = -lobjcmisc
5 |
6 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc_with_initializer/objc_misc.h:
--------------------------------------------------------------------------------
1 | #include
2 | @interface A:NSObject
3 |
4 | @end
5 |
6 | @interface B:A
7 | +(A*)giveC;
8 | @end
9 |
10 | @interface C:A
11 | @end
12 |
--------------------------------------------------------------------------------
/backend.native/tests/interop/objc_with_initializer/objc_test.kt:
--------------------------------------------------------------------------------
1 | import objc_misc.*
2 | import kotlin.native.Platform
3 |
4 | val a = B.giveC()!! as C
5 |
6 | fun main() {
7 | Platform.isMemoryLeakCheckerActive = true
8 | println("OK")
9 | }
10 |
--------------------------------------------------------------------------------
/backend.native/tests/iosLauncher/.gitignore:
--------------------------------------------------------------------------------
1 | xcuserdata
--------------------------------------------------------------------------------
/backend.native/tests/iosLauncher/KonanTestLauncher.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/backend.native/tests/link/fake_overrides/base.kt:
--------------------------------------------------------------------------------
1 | package serialization.fake_overrides
2 |
3 | open class A {
4 | open fun qux() = "Super"
5 | open fun tic() = "Super"
6 | }
7 |
--------------------------------------------------------------------------------
/backend.native/tests/link/fake_overrides/main.kt:
--------------------------------------------------------------------------------
1 | import serialization.fake_overrides.*
2 | fun test1() = println(Z().bar())
3 |
4 | fun main() {
5 | test0()
6 | test1()
7 | test2()
8 | test3()
9 | }
10 |
--------------------------------------------------------------------------------
/backend.native/tests/link/fake_overrides/move.kt:
--------------------------------------------------------------------------------
1 | package serialization.fake_overrides
2 |
3 | open class X {
4 | }
5 |
6 | class Y: X() {
7 | fun bar() = "Stale"
8 | }
9 |
10 | class B: A() {
11 | }
12 |
13 | class C: A() {
14 | override fun tic() = "Child"
15 | }
16 |
--------------------------------------------------------------------------------
/backend.native/tests/link/fake_overrides/move2.kt:
--------------------------------------------------------------------------------
1 | package serialization.fake_overrides
2 |
3 | open class X {
4 | fun bar() = "Moved"
5 | }
6 |
7 | class Y: X() {
8 | }
9 |
10 | class B: A() {
11 | override fun qux() = "Child"
12 | }
13 |
14 | class C: A() {
15 | }
16 |
--------------------------------------------------------------------------------
/backend.native/tests/link/fake_overrides/use.kt:
--------------------------------------------------------------------------------
1 | package serialization.fake_overrides
2 |
3 | class Z: X() {
4 | }
5 |
6 | fun test0() = println(Y().bar())
7 | fun test2() = println(B().qux())
8 | fun test3() = println(C().qux())
9 |
--------------------------------------------------------------------------------
/backend.native/tests/link/ir_providers/hello.kt:
--------------------------------------------------------------------------------
1 | fun main() = println("hello")
--------------------------------------------------------------------------------
/backend.native/tests/link/ir_providers/library/empty.kt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JetBrains/kotlin-native/9fb0a75ab17e9d8cddd2c3d1802a1cdd83774dfa/backend.native/tests/link/ir_providers/library/empty.kt
--------------------------------------------------------------------------------
/backend.native/tests/link/ir_providers/library/manifest.properties:
--------------------------------------------------------------------------------
1 | ir_provider=UNSUPPORTED
--------------------------------------------------------------------------------
/backend.native/tests/link/lib/foo.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | package qwerty
7 |
8 | fun foo(a: Int): Int {
9 | return a
10 | }
11 |
12 |
13 |
--------------------------------------------------------------------------------
/backend.native/tests/link/lib/foo2.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | package qwerty
7 |
8 | fun foo2(a: Int): Int {
9 | return a
10 | }
11 |
12 |
13 |
--------------------------------------------------------------------------------
/backend.native/tests/link/omit/hello.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | fun main(args: Array) {
7 | println("Hello")
8 | }
9 |
--------------------------------------------------------------------------------
/backend.native/tests/link/omit/lib.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | package foo
7 | fun foo() {}
8 |
--------------------------------------------------------------------------------
/backend.native/tests/link/private_fake_overrides/inherit_main.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | fun main() {
7 | runner()
8 | }
9 |
10 |
--------------------------------------------------------------------------------
/backend.native/tests/link/private_fake_overrides/override_main.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | fun main() {
7 | runner()
8 | }
9 |
--------------------------------------------------------------------------------
/backend.native/tests/link/purge1/prog.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 |
7 | fun main(args: Array) {
8 | foo()
9 | }
10 |
--------------------------------------------------------------------------------
/backend.native/tests/link/versioning/empty.kt:
--------------------------------------------------------------------------------
1 | /* This file has intentionally been left blank */
2 |
3 |
--------------------------------------------------------------------------------
/backend.native/tests/link/versioning/hello.kt:
--------------------------------------------------------------------------------
1 | fun main() {
2 | println("Hello, versioned world!")
3 | }
4 |
--------------------------------------------------------------------------------
/backend.native/tests/lower/local_delegated_property_link/lib.kt:
--------------------------------------------------------------------------------
1 | fun foo(): String{
2 | val bar: String by lazy {
3 | "OK"
4 | }
5 |
6 | return bar
7 | }
8 |
9 |
--------------------------------------------------------------------------------
/backend.native/tests/lower/local_delegated_property_link/main.kt:
--------------------------------------------------------------------------------
1 | fun main() {
2 | println(foo())
3 | }
4 |
--------------------------------------------------------------------------------
/backend.native/tests/objcexport/enumValues.kt:
--------------------------------------------------------------------------------
1 | package enumValues
2 |
3 | enum class EnumLeftRightUpDown {
4 | LEFT, RIGHT, UP, DOWN
5 | }
6 |
7 | enum class EnumOneTwoThreeValues {
8 | ONE, TWO, THREE, VALUES
9 | }
10 |
11 | enum class EnumValuesValues_ {
12 | VALUES, VALUES_
13 | }
14 |
15 | enum class EmptyEnum {
16 | }
17 |
--------------------------------------------------------------------------------
/backend.native/tests/objcexport/gh4002.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | package gh4002
7 |
8 | open class GH4002ArgumentBase
9 | class GH4002Argument : GH4002ArgumentBase()
--------------------------------------------------------------------------------
/backend.native/tests/objcexport/throwsEmpty.kt:
--------------------------------------------------------------------------------
1 | package throwsEmpty
2 |
3 | // Suppressing compilation error.
4 | // Only the generated comment is checked.
5 | @Suppress("THROWS_LIST_EMPTY")
6 | @Throws fun throwsEmpty() {}
7 |
--------------------------------------------------------------------------------
/backend.native/tests/objcexport/topLevelManglingA.kt:
--------------------------------------------------------------------------------
1 | package topLevelManglingA
2 |
3 | fun foo() = "a1"
4 | val bar = "a2"
5 |
6 | fun sameNumber(value: Int) = value
7 | fun sameNumber(value: Long) = value
8 |
--------------------------------------------------------------------------------
/backend.native/tests/objcexport/topLevelManglingB.kt:
--------------------------------------------------------------------------------
1 | package topLevelManglingB
2 |
3 | fun foo() = "b1"
4 | val bar = "b2"
5 |
--------------------------------------------------------------------------------
/backend.native/tests/runtime/basic/args0.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | fun main(args : Array) {
7 | for (s in args) {
8 | println(s)
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/backend.native/tests/runtime/basic/assert_failed.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | fun main(args: Array) {
7 | assert(false)
8 | }
--------------------------------------------------------------------------------
/backend.native/tests/runtime/basic/assert_passed.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | fun main(args: Array) {
7 | assert(true)
8 | }
--------------------------------------------------------------------------------
/backend.native/tests/runtime/basic/entry2.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | fun main(args: Array) {
7 | fail()
8 | }
9 |
10 |
--------------------------------------------------------------------------------
/backend.native/tests/runtime/basic/entry4.kt:
--------------------------------------------------------------------------------
1 | fun main() {
2 | println("This is main without args")
3 | }
4 |
--------------------------------------------------------------------------------
/backend.native/tests/runtime/basic/init.kt:
--------------------------------------------------------------------------------
1 | val x = initRuntimeIfNeeded()
2 |
3 | fun main() {
4 | }
5 |
--------------------------------------------------------------------------------
/backend.native/tests/runtime/basic/readline0.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | fun main(args: Array) {
7 | print(readLine()!!.toInt())
8 | }
--------------------------------------------------------------------------------
/backend.native/tests/runtime/basic/readline1.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | fun main(args: Array) {
7 | print(readLine()!!)
8 | }
--------------------------------------------------------------------------------
/backend.native/tests/runtime/memory/leak_memory.kt:
--------------------------------------------------------------------------------
1 | import kotlinx.cinterop.*
2 | import kotlin.native.Platform
3 |
4 | fun main() {
5 | Platform.isMemoryLeakCheckerActive = true
6 | StableRef.create(Any())
7 | }
8 |
--------------------------------------------------------------------------------
/backend.native/tests/runtime/memory/leak_memory_test_runner.kt:
--------------------------------------------------------------------------------
1 | import kotlin.test.*
2 |
3 | import kotlinx.cinterop.*
4 | import kotlin.native.Platform
5 |
6 | @BeforeTest
7 | fun enableMemoryChecker() {
8 | Platform.isMemoryLeakCheckerActive = true
9 | }
10 |
11 | @Test
12 | fun test() {
13 | StableRef.create(Any())
14 | }
15 |
--------------------------------------------------------------------------------
/backend.native/tests/runtime/memory/only_gc.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | fun main(args: Array) {
7 | kotlin.native.internal.GC.collect()
8 | }
9 |
10 |
--------------------------------------------------------------------------------
/backend.native/tests/serialization/char_const.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | inline fun foo(x: Char = '\u042b') = x
7 |
--------------------------------------------------------------------------------
/backend.native/tests/serialization/prop.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | fun main(args: Array) {
7 | println(666.prop)
8 | }
9 |
--------------------------------------------------------------------------------
/backend.native/tests/serialization/use.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 |
7 | fun main(args: Array) {
8 | foo()
9 | }
10 |
--------------------------------------------------------------------------------
/backend.native/tests/serialization/use_char_const.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | fun main(args: Array) {
7 | println(foo())
8 | }
9 |
--------------------------------------------------------------------------------
/build-tools/src/main/kotlin/org/jetbrains/kotlin/BenchmarkRepeatingType.kt:
--------------------------------------------------------------------------------
1 | package org.jetbrains.kotlin
2 |
3 | enum class BenchmarkRepeatingType {
4 | INTERNAL, // Let the benchmark perform warmups and repeats.
5 | EXTERNAL, // Repeat by relaunching benchmark
6 | }
--------------------------------------------------------------------------------
/build-tools/src/main/kotlin/org/jetbrains/kotlin/ExecLlvm.kt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JetBrains/kotlin-native/9fb0a75ab17e9d8cddd2c3d1802a1cdd83774dfa/build-tools/src/main/kotlin/org/jetbrains/kotlin/ExecLlvm.kt
--------------------------------------------------------------------------------
/dependencyPacker/linux_llvm_blacklist:
--------------------------------------------------------------------------------
1 | # Unused large files
2 | lib/liblldb.so
3 | lib/liblldb.so.8
4 | lib/libLTO.so
5 | lib/libLTO.so.8
6 | lib/python2.7/site-packages/lldb/_lldb.so
--------------------------------------------------------------------------------
/dependencyPacker/mingw_llvm_blacklist:
--------------------------------------------------------------------------------
1 | lib/gcc/x86_64-w64-mingw32/9.2.0/cc1plus.exe
2 | lib/gcc/x86_64-w64-mingw32/9.2.0/plugin/cc1.exe.a
3 | lib/gcc/x86_64-w64-mingw32/9.2.0/plugin/cc1plus.exe.a
4 | lib/gcc/x86_64-w64-mingw32/9.2.0/lto1.exe
5 | lib/gcc/x86_64-w64-mingw32/9.2.0/cc1.exe
6 |
--------------------------------------------------------------------------------
/endorsedLibraries/kotlinx.cli/gradle.properties:
--------------------------------------------------------------------------------
1 | org.jetbrains.kotlin.native.home=../../dist
2 | org.jetbrains.kotlin.native.jvmArgs=-Xmx6G
--------------------------------------------------------------------------------
/endorsedLibraries/kotlinx.cli/src/tests/DataSourceEnum.kt:
--------------------------------------------------------------------------------
1 | package kotlinx.cli
2 |
3 | enum class DataSourceEnum {
4 | LOCAL,
5 | STAGING,
6 | PRODUCTION;
7 |
8 | override fun toString(): String = name.toLowerCase()
9 | }
10 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JetBrains/kotlin-native/9fb0a75ab17e9d8cddd2c3d1802a1cdd83774dfa/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 |
--------------------------------------------------------------------------------
/klib/src/main/kotlin/org/jetbrains/kotlin/cli/klib/DeclarationHeaderRenderer.kt:
--------------------------------------------------------------------------------
1 | package org.jetbrains.kotlin.cli.klib
2 |
3 | import org.jetbrains.kotlin.descriptors.DeclarationDescriptor
4 |
5 | interface DeclarationHeaderRenderer {
6 | fun render(descriptor: DeclarationDescriptor): String
7 | }
8 |
--------------------------------------------------------------------------------
/licenses/third_party/harmony_LICENSE.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JetBrains/kotlin-native/9fb0a75ab17e9d8cddd2c3d1802a1cdd83774dfa/licenses/third_party/harmony_LICENSE.txt
--------------------------------------------------------------------------------
/licenses/third_party/xcode_license.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JetBrains/kotlin-native/9fb0a75ab17e9d8cddd2c3d1802a1cdd83774dfa/licenses/third_party/xcode_license.pdf
--------------------------------------------------------------------------------
/performance/KotlinVsSwift/ring/gradle.properties:
--------------------------------------------------------------------------------
1 | kotlin.native.home=../../../dist
--------------------------------------------------------------------------------
/performance/cinterop/gradle.properties:
--------------------------------------------------------------------------------
1 | kotlin.native.home=../../dist
--------------------------------------------------------------------------------
/performance/framework/gradle.properties:
--------------------------------------------------------------------------------
1 | kotlin.native.home=../../dist
--------------------------------------------------------------------------------
/performance/helloworld/gradle.properties:
--------------------------------------------------------------------------------
1 | kotlin.native.home=../../dist
--------------------------------------------------------------------------------
/performance/numerical/gradle.properties:
--------------------------------------------------------------------------------
1 | kotlin.native.home=../../dist
--------------------------------------------------------------------------------
/performance/numerical/src/nativeInterop/cinterop/cinterop.def:
--------------------------------------------------------------------------------
1 | package = cinterop
2 |
--------------------------------------------------------------------------------
/performance/objcinterop/gradle.properties:
--------------------------------------------------------------------------------
1 | kotlin.native.home=../../dist
--------------------------------------------------------------------------------
/performance/objcinterop/src/nativeInterop/cinterop/classes.def:
--------------------------------------------------------------------------------
1 | package = org.jetbrains.complexNumbers
2 | language = Objective-C
--------------------------------------------------------------------------------
/performance/ring/gradle.properties:
--------------------------------------------------------------------------------
1 | kotlin.native.home=../../dist
--------------------------------------------------------------------------------
/performance/ring/src/main/kotlin-jvm/FakeKonanNamespace.kt:
--------------------------------------------------------------------------------
1 | package org.jetbrains.ring
2 |
3 | class konan {
4 | annotation class ThreadLocal
5 | }
--------------------------------------------------------------------------------
/performance/ring/src/main/kotlin-jvm/cleanup.kt:
--------------------------------------------------------------------------------
1 | package org.jetbrains.ring
2 |
3 | actual fun cleanup() { }
--------------------------------------------------------------------------------
/performance/ring/src/main/kotlin-native/cleanup.kt:
--------------------------------------------------------------------------------
1 | package org.jetbrains.ring
2 |
3 | import kotlin.native.internal.GC
4 |
5 | actual fun cleanup() { GC.collect() }
--------------------------------------------------------------------------------
/performance/ring/src/main/kotlin/cleanup.kt:
--------------------------------------------------------------------------------
1 | package org.jetbrains.ring
2 |
3 | expect fun cleanup()
--------------------------------------------------------------------------------
/performance/scripts/linux_services.list:
--------------------------------------------------------------------------------
1 | cups.service
2 | cups.socket
3 | cups.path
4 | cups-browsed
5 | avahi-daemon.socket
6 | avahi-daemon.service
7 | whoopsie.service
8 | upower.service
9 | snapd.socket
10 | snapd.service
11 | bluetooth.target
12 | bluetooth.service
--------------------------------------------------------------------------------
/performance/startup/gradle.properties:
--------------------------------------------------------------------------------
1 | kotlin.native.home=../../dist
2 |
--------------------------------------------------------------------------------
/performance/swiftinterop/gradle.properties:
--------------------------------------------------------------------------------
1 | kotlin.native.home=../../dist
--------------------------------------------------------------------------------
/performance/videoplayer/gradle.properties:
--------------------------------------------------------------------------------
1 | kotlin.native.home=../../dist
--------------------------------------------------------------------------------
/platformLibs/src/platform/android/egl.def:
--------------------------------------------------------------------------------
1 | depends = glesCommon posix
2 | package = platform.egl
3 | headers = EGL/egl.h EGL/eglext.h EGL/eglplatform.h
4 | headerFilter = EGL/**
5 | linkerOpts = -lEGL
--------------------------------------------------------------------------------
/platformLibs/src/platform/android/gles.def:
--------------------------------------------------------------------------------
1 | depends = glesCommon posix
2 | package = platform.gles
3 | headers = GLES/gl.h GLES/glext.h GLES/glplatform.h
4 | headerFilter = GLES/**
5 | linkerOpts = -lGLESv1_CM
--------------------------------------------------------------------------------
/platformLibs/src/platform/android/gles2.def:
--------------------------------------------------------------------------------
1 | depends = glesCommon posix
2 | package = platform.gles2
3 | headers = GLES2/gl2.h GLES2/gl2ext.h GLES2/gl2platform.h
4 | headerFilter = GLES2/**
5 | linkerOpts = -lGLESv2
6 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/android/gles3.def:
--------------------------------------------------------------------------------
1 | depends = glesCommon posix
2 | package = platform.gles3
3 | headers = GLES3/gl3.h GLES3/gl3ext.h GLES3/gl3platform.h
4 | headerFilter = GLES3/**
5 | linkerOpts = -lGLESv3
--------------------------------------------------------------------------------
/platformLibs/src/platform/android/gles31.def:
--------------------------------------------------------------------------------
1 | depends = gles3 glesCommon posix
2 | package = platform.gles31
3 | headers = GLES3/gl31.h
4 | headerFilter = GLES3/**
5 | linkerOpts = -lGLESv3
--------------------------------------------------------------------------------
/platformLibs/src/platform/android/glesCommon.def:
--------------------------------------------------------------------------------
1 | depends = posix
2 | package = platform.glescommon
3 | headers = KHR/khrplatform.h
4 | headerFilter = KHR/**
5 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/android/media.def:
--------------------------------------------------------------------------------
1 | depends = android posix
2 | package = platform.media
3 | headers = media/NdkMediaCodec.h media/NdkMediaCrypto.h media/NdkMediaDrm.h media/NdkMediaError.h \
4 | media/NdkMediaExtractor.h media/NdkMediaFormat.h media/NdkMediaMuxer.h
5 | headerFilter = media/**
6 | linkerOpts = -lmediandk
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/android/omxal.def:
--------------------------------------------------------------------------------
1 | depends = posix
2 | package = platform.omxal
3 | headers = OMXAL/OpenMAXAL.h OMXAL/OpenMAXAL_Android.h OMXAL/OpenMAXAL_Platform.h
4 | headerFilter = OMXAL/**
5 | linkerOpts = -lOpenMAXAL
--------------------------------------------------------------------------------
/platformLibs/src/platform/android/sles.def:
--------------------------------------------------------------------------------
1 | depends = posix
2 | package = platform.sles
3 | headers = SLES//OpenSLES.h SLES/OpenSLES_Android.h SLES/OpenSLES_AndroidConfiguration.h \
4 | SLES/OpenSLES_AndroidMetadata.h SLES/OpenSLES_Platform.h
5 | headerFilter = SLES/**
6 | linkerOpts = -lOpenSLES
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/Accelerate.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics CoreVideo IOSurface darwin posix
2 | language = Objective-C
3 | package = platform.Accelerate
4 | modules = Accelerate
5 |
6 | compilerOpts = -framework Accelerate
7 | linkerOpts = -framework Accelerate
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/Accessibility.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreGraphics Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.Accessibility
4 | modules = Accessibility
5 | compilerOpts = -framework Accessibility
6 | linkerOpts = -framework Accessibility
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/Accounts.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.Accounts
4 | modules = Accounts
5 |
6 | compilerOpts = -framework Accounts
7 | linkerOpts = -framework Accounts
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/AdSupport.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.AdSupport
4 | modules = AdSupport
5 |
6 | compilerOpts = -framework AdSupport
7 | linkerOpts = -framework AdSupport
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/AddressBook.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.AddressBook
4 | modules = AddressBook
5 |
6 | compilerOpts = -framework AddressBook
7 | linkerOpts = -framework AddressBook
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/AppClip.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.AppClip
4 | modules = AppClip
5 | compilerOpts = -framework AppClip
6 | linkerOpts = -framework AppClip
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/AppTrackingTransparency.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.AppTrackingTransparency
4 | modules = AppTrackingTransparency
5 | compilerOpts = -framework AppTrackingTransparency
6 | linkerOpts = -framework AppTrackingTransparency
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/AssetsLibrary.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreGraphics Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.AssetsLibrary
4 | modules = AssetsLibrary
5 |
6 | compilerOpts = -framework AssetsLibrary
7 | linkerOpts = -framework AssetsLibrary
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/AudioToolbox.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreAudioTypes CoreFoundation CoreMIDI Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.AudioToolbox
4 | modules = AudioToolbox AudioUnit
5 |
6 | compilerOpts = -framework AudioToolbox
7 | linkerOpts = -framework AudioToolbox
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/AudioUnit.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.AudioUnit
3 | modules = AudioUnit
4 | compilerOpts = -framework AudioUnit
5 | linkerOpts = -framework AudioUnit
6 | #Disabled: part of AudioToolbox
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/BackgroundTasks.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.BackgroundTasks
4 | modules = BackgroundTasks
5 |
6 | compilerOpts = -framework BackgroundTasks
7 | linkerOpts = -framework BackgroundTasks
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CallKit.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.CallKit
4 | modules = CallKit
5 |
6 | compilerOpts = -framework CallKit
7 | linkerOpts = -framework CallKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/ClassKit.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreGraphics Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.ClassKit
4 | modules = ClassKit
5 |
6 | compilerOpts = -framework ClassKit
7 | linkerOpts = -framework ClassKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CloudKit.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreLocation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.CloudKit
4 | modules = CloudKit
5 |
6 | compilerOpts = -framework CloudKit
7 | linkerOpts = -framework CloudKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/Combine.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.Combine
3 | modules = Combine
4 | compilerOpts = -framework Combine
5 | linkerOpts = -framework Combine
6 | #Disabled: Swift-only framework
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CommonCrypto.def:
--------------------------------------------------------------------------------
1 | depends = darwin posix
2 | language = Objective-C
3 | package = platform.CoreCrypto
4 | modules = CommonCrypto
5 |
6 | compilerOpts = -D_XOPEN_SOURCE
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/Contacts.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.Contacts
4 | modules = Contacts
5 |
6 | compilerOpts = -framework Contacts
7 | linkerOpts = -framework Contacts
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CoreAudio.def:
--------------------------------------------------------------------------------
1 | depends = CoreAudioTypes CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.CoreAudio
4 | modules = CoreAudio
5 |
6 | compilerOpts = -framework CoreAudio
7 | linkerOpts = -framework CoreAudio
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CoreAudioTypes.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.CoreAudioTypes
4 | modules = CoreAudioTypes
5 |
6 | compilerOpts = -framework CoreAudioTypes
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CoreData.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CloudKit CoreFoundation CoreLocation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.CoreData
4 | modules = CoreData
5 |
6 | compilerOpts = -framework CoreData
7 | linkerOpts = -framework CoreData
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CoreFoundation.def:
--------------------------------------------------------------------------------
1 | depends = darwin posix
2 | language = Objective-C
3 | package = platform.CoreFoundation
4 | modules = CoreFoundation
5 |
6 | compilerOpts = -framework CoreFoundation
7 | linkerOpts = -framework CoreFoundation
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CoreGraphics.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.CoreGraphics
4 | modules = CoreGraphics
5 |
6 | compilerOpts = -framework CoreGraphics
7 | linkerOpts = -framework CoreGraphics
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CoreHaptics.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Foundation darwin posix
2 | language = Objective-C
3 | package = platform.CoreHaptics
4 | modules = CoreHaptics
5 |
6 | compilerOpts = -framework CoreHaptics
7 | linkerOpts = -framework CoreHaptics
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CoreImage.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreGraphics CoreVideo EAGL Foundation IOSurface ImageIO Metal OpenGLESCommon Security darwin posix
2 | language = Objective-C
3 | package = platform.CoreImage
4 | modules = CoreImage
5 |
6 | compilerOpts = -framework CoreImage
7 | linkerOpts = -framework CoreImage
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CoreLocation.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.CoreLocation
4 | modules = CoreLocation
5 |
6 | compilerOpts = -framework CoreLocation
7 | linkerOpts = -framework CoreLocation
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CoreMIDI.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.CoreMIDI
4 | modules = CoreMIDI
5 |
6 | compilerOpts = -framework CoreMIDI
7 | linkerOpts = -framework CoreMIDI
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CoreML.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreGraphics CoreVideo Foundation IOSurface ImageIO Security darwin posix
2 | language = Objective-C
3 | package = platform.CoreML
4 | modules = CoreML
5 |
6 | compilerOpts = -framework CoreML
7 | linkerOpts = -framework CoreML
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CoreMotion.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.CoreMotion
4 | modules = CoreMotion
5 |
6 | compilerOpts = -framework CoreMotion
7 | linkerOpts = -framework CoreMotion
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CoreNFC.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.CoreNFC
4 | modules = CoreNFC
5 |
6 | compilerOpts = -framework CoreNFC
7 | linkerOpts = -framework CoreNFC
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CoreServices.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.CoreServices
4 | modules = CoreServices
5 |
6 | compilerOpts = -framework CoreServices
7 | linkerOpts = -framework CoreServices
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CoreSpotlight.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security UniformTypeIdentifiers darwin posix
2 | language = Objective-C
3 | package = platform.CoreSpotlight
4 | modules = CoreSpotlight
5 |
6 | compilerOpts = -framework CoreSpotlight
7 | linkerOpts = -framework CoreSpotlight
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CoreTelephony.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.CoreTelephony
4 | modules = CoreTelephony
5 |
6 | compilerOpts = -framework CoreTelephony
7 | linkerOpts = -framework CoreTelephony
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CoreText.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics darwin posix
2 | language = Objective-C
3 | package = platform.CoreText
4 | modules = CoreText
5 |
6 | compilerOpts = -framework CoreText
7 | linkerOpts = -framework CoreText
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CoreVideo.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreGraphics Foundation IOSurface Metal OpenGLESCommon Security darwin posix
2 | language = Objective-C
3 | package = platform.CoreVideo
4 | modules = CoreVideo
5 |
6 | compilerOpts = -framework CoreVideo
7 | linkerOpts = -framework CoreVideo
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CryptoKit.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.CryptoKit
3 | modules = CryptoKit
4 | compilerOpts = -framework CryptoKit
5 | linkerOpts = -framework CryptoKit
6 | #Disabled: Swift-only framework
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/CryptoTokenKit.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.CryptoTokenKit
4 | modules = CryptoTokenKit
5 |
6 | compilerOpts = -framework CryptoTokenKit
7 | linkerOpts = -framework CryptoTokenKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/DeveloperToolsSupport.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.DeveloperToolsSupport
3 | modules = DeveloperToolsSupport
4 | compilerOpts = -framework DeveloperToolsSupport
5 | linkerOpts = -framework DeveloperToolsSupport
6 | #Disabled: Swift-only framework
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/DeviceCheck.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.DeviceCheck
4 | modules = DeviceCheck
5 |
6 | compilerOpts = -framework DeviceCheck
7 | linkerOpts = -framework DeviceCheck
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/EAGL.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.EAGL
4 | headers = OpenGLES/EAGL.h OpenGLES/EAGLDrawable.h
5 |
6 | headerFilter = OpenGLES/**
7 |
8 | compilerOpts = -framework OpenGLES
9 | linkerOpts = -framework OpenGLES
10 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/EventKit.def:
--------------------------------------------------------------------------------
1 | depends = AddressBook CFNetwork CoreFoundation CoreGraphics CoreLocation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.EventKit
4 | modules = EventKit
5 |
6 | compilerOpts = -framework EventKit
7 | linkerOpts = -framework EventKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/ExposureNotification.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.ExposureNotification
4 | modules = ExposureNotification
5 |
6 | compilerOpts = -framework ExposureNotification
7 | linkerOpts = -framework ExposureNotification
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/ExternalAccessory.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.ExternalAccessory
4 | modules = ExternalAccessory
5 |
6 | compilerOpts = -framework ExternalAccessory
7 | linkerOpts = -framework ExternalAccessory
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/FileProvider.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreGraphics Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.FileProvider
4 | modules = FileProvider
5 |
6 | compilerOpts = -framework FileProvider
7 | linkerOpts = -framework FileProvider
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/Foundation.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Security darwin posix
2 | language = Objective-C
3 | package = platform.Foundation
4 | modules = Foundation
5 |
6 | compilerOpts = -framework Foundation
7 | linkerOpts = -framework Foundation
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/GSS.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.GSS
4 | modules = GSS
5 |
6 | compilerOpts = -framework GSS
7 | linkerOpts = -framework GSS
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/HealthKit.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.HealthKit
4 | modules = HealthKit
5 |
6 | compilerOpts = -framework HealthKit
7 | linkerOpts = -framework HealthKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/IOKit.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.IOKit
3 | modules = IOKit
4 | compilerOpts = -framework IOKit
5 | linkerOpts = -framework IOKit
6 | #Disabled: Not officially available for ios
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/IOSurface.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.IOSurface
4 | modules = IOSurface
5 |
6 | compilerOpts = -framework IOSurface
7 | linkerOpts = -framework IOSurface
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/IdentityLookup.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.IdentityLookup
4 | modules = IdentityLookup
5 |
6 | compilerOpts = -framework IdentityLookup
7 | linkerOpts = -framework IdentityLookup
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/ImageCaptureCore.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreGraphics Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.ImageCaptureCore
4 | modules = ImageCaptureCore
5 |
6 | compilerOpts = -framework ImageCaptureCore
7 | linkerOpts = -framework ImageCaptureCore
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/ImageIO.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics darwin posix
2 | language = Objective-C
3 | package = platform.ImageIO
4 | modules = ImageIO
5 |
6 | compilerOpts = -framework ImageIO
7 | linkerOpts = -framework ImageIO
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/Intents.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreGraphics CoreLocation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.Intents
4 | modules = Intents
5 |
6 | compilerOpts = -framework Intents
7 | linkerOpts = -framework Intents
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/JavaScriptCore.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreGraphics Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.JavaScriptCore
4 | modules = JavaScriptCore
5 |
6 | compilerOpts = -framework JavaScriptCore
7 | linkerOpts = -framework JavaScriptCore
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/LocalAuthentication.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.LocalAuthentication
4 | modules = LocalAuthentication
5 |
6 | compilerOpts = -framework LocalAuthentication
7 | linkerOpts = -framework LocalAuthentication
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/Metal.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation IOSurface Security darwin posix
2 | language = Objective-C
3 | package = platform.Metal
4 | modules = Metal
5 |
6 | compilerOpts = -framework Metal
7 | linkerOpts = -framework Metal
8 |
9 | excludedFunctions = MTLCommandBufferErrorDomain
10 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/MetricKit.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.MetricKit
4 | modules = MetricKit
5 |
6 | compilerOpts = -framework MetricKit
7 | linkerOpts = -framework MetricKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/MobileCoreServices.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreServices darwin posix
2 | language = Objective-C
3 | package = platform.MobileCoreServices
4 | modules = MobileCoreServices
5 |
6 | compilerOpts = -framework MobileCoreServices
7 | linkerOpts = -framework MobileCoreServices
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/ModelIO.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreGraphics Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.ModelIO
4 | modules = ModelIO
5 |
6 | compilerOpts = -framework ModelIO
7 | linkerOpts = -framework ModelIO
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/NaturalLanguage.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.NaturalLanguage
4 | modules = NaturalLanguage
5 |
6 | compilerOpts = -framework NaturalLanguage
7 | linkerOpts = -framework NaturalLanguage
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/NearbyInteraction.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.NearbyInteraction
4 | modules = NearbyInteraction
5 | compilerOpts = -framework NearbyInteraction
6 | linkerOpts = -framework NearbyInteraction
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/NetworkExtension.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Network Security darwin posix
2 | language = Objective-C
3 | package = platform.NetworkExtension
4 | modules = NetworkExtension
5 |
6 | compilerOpts = -framework NetworkExtension
7 | linkerOpts = -framework NetworkExtension
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/NewsstandKit.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.NewsstandKit
4 | modules = NewsstandKit
5 |
6 | compilerOpts = -framework NewsstandKit
7 | linkerOpts = -framework NewsstandKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/OSLog.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.OSLog
3 | modules = OSLog
4 | compilerOpts = -framework OSLog
5 | linkerOpts = -framework OSLog
6 | #Disabled: Not officially available for ios
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/OpenAL.def:
--------------------------------------------------------------------------------
1 | depends = darwin posix
2 | language = Objective-C
3 | package = platform.OpenAL
4 | modules = OpenAL
5 |
6 | compilerOpts = -framework OpenAL
7 | linkerOpts = -framework OpenAL
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/OpenGLES.def:
--------------------------------------------------------------------------------
1 | depends = EAGL OpenGLESCommon darwin posix
2 | language = Objective-C
3 | package = platform.gles
4 | headers = OpenGLES/ES1/gl.h OpenGLES/ES1/glext.h
5 |
6 | headerFilter = OpenGLES/ES1/**
7 |
8 | compilerOpts = -framework OpenGLES
9 | linkerOpts = -framework OpenGLES
10 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/OpenGLES2.def:
--------------------------------------------------------------------------------
1 | depends = EAGL OpenGLESCommon darwin posix
2 | language = Objective-C
3 | package = platform.gles2
4 | headers = OpenGLES/ES2/gl.h OpenGLES/ES2/glext.h
5 |
6 | headerFilter = OpenGLES/ES2/**
7 |
8 | compilerOpts = -framework OpenGLES
9 | linkerOpts = -framework OpenGLES
10 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/OpenGLES3.def:
--------------------------------------------------------------------------------
1 | depends = EAGL OpenGLESCommon darwin posix
2 | language = Objective-C
3 | package = platform.gles3
4 | headers = OpenGLES/ES3/gl.h OpenGLES/ES3/glext.h
5 |
6 | headerFilter = OpenGLES/ES3/**
7 |
8 | compilerOpts = -framework OpenGLES
9 | linkerOpts = -framework OpenGLES
10 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/OpenGLESCommon.def:
--------------------------------------------------------------------------------
1 | depends = posix
2 | language = Objective-C
3 | package = platform.glescommon
4 | headers = OpenGLES/gltypes.h
5 |
6 | headerFilter = OpenGLES/gltypes.h
7 |
8 | compilerOpts = -framework OpenGLES
9 | linkerOpts = -framework OpenGLES
10 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/PushKit.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.PushKit
4 | modules = PushKit
5 |
6 | compilerOpts = -framework PushKit
7 | linkerOpts = -framework PushKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/RealityKit.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.RealityKit
3 | modules = RealityKit
4 | compilerOpts = -framework RealityKit
5 | linkerOpts = -framework RealityKit
6 | #Disabled: Swift-only framework
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/Security.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.Security
4 | modules = Security
5 |
6 | compilerOpts = -framework Security
7 | linkerOpts = -framework Security
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/SensorKit.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreLocation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.SensorKit
4 | modules = SensorKit
5 | compilerOpts = -framework SensorKit
6 | linkerOpts = -framework SensorKit
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.SwiftUI
3 | modules = SwiftUI
4 | compilerOpts = -framework SwiftUI
5 | linkerOpts = -framework SwiftUI
6 | #Disabled: Swift-only framework
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/SystemConfiguration.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.SystemConfiguration
4 | modules = SystemConfiguration
5 |
6 | compilerOpts = -framework SystemConfiguration
7 | linkerOpts = -framework SystemConfiguration
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/UniformTypeIdentifiers.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.UniformTypeIdentifiers
4 | modules = UniformTypeIdentifiers
5 | compilerOpts = -framework UniformTypeIdentifiers
6 | linkerOpts = -framework UniformTypeIdentifiers
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/UserNotifications.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.UserNotifications
4 | modules = UserNotifications
5 |
6 | compilerOpts = -framework UserNotifications
7 | linkerOpts = -framework UserNotifications
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/VideoSubscriberAccount.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Foundation darwin posix
2 | language = Objective-C
3 | package = platform.VideoSubscriberAccount
4 | modules = VideoSubscriberAccount
5 |
6 | compilerOpts = -framework VideoSubscriberAccount
7 | linkerOpts = -framework VideoSubscriberAccount
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/WatchConnectivity.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.WatchConnectivity
4 | modules = WatchConnectivity
5 |
6 | compilerOpts = -framework WatchConnectivity
7 | linkerOpts = -framework WatchConnectivity
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/WidgetKit.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.WidgetKit
3 | modules = WidgetKit
4 | compilerOpts = -framework WidgetKit
5 | linkerOpts = -framework WidgetKit
6 | #Disabled: Swift-only framework
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/_AVKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._AVKit_SwiftUI
3 | modules = _AVKit_SwiftUI
4 | compilerOpts = -framework _AVKit_SwiftUI
5 | linkerOpts = -framework _AVKit_SwiftUI
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/_AuthenticationServices_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._AuthenticationServices_SwiftUI
3 | modules = _AuthenticationServices_SwiftUI
4 | compilerOpts = -framework _AuthenticationServices_SwiftUI
5 | linkerOpts = -framework _AuthenticationServices_SwiftUI
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/_HomeKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._HomeKit_SwiftUI
3 | modules = _HomeKit_SwiftUI
4 | compilerOpts = -framework _HomeKit_SwiftUI
5 | linkerOpts = -framework _HomeKit_SwiftUI
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/_MapKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._MapKit_SwiftUI
3 | modules = _MapKit_SwiftUI
4 | compilerOpts = -framework _MapKit_SwiftUI
5 | linkerOpts = -framework _MapKit_SwiftUI
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/_QuickLook_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._QuickLook_SwiftUI
3 |
4 | modules = _QuickLook_SwiftUI
5 | compilerOpts = -framework _QuickLook_SwiftUI
6 | linkerOpts = -framework _QuickLook_SwiftUI
7 | #Disabled: Unavailable
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/_SceneKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._SceneKit_SwiftUI
3 | modules = _SceneKit_SwiftUI
4 | compilerOpts = -framework _SceneKit_SwiftUI
5 | linkerOpts = -framework _SceneKit_SwiftUI
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/_SpriteKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._SpriteKit_SwiftUI
3 | modules = _SpriteKit_SwiftUI
4 | compilerOpts = -framework _SpriteKit_SwiftUI
5 | linkerOpts = -framework _SpriteKit_SwiftUI
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/_StoreKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._StoreKit_SwiftUI
3 | modules = _StoreKit_SwiftUI
4 | compilerOpts = -framework _StoreKit_SwiftUI
5 | linkerOpts = -framework _StoreKit_SwiftUI
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/iconv.def:
--------------------------------------------------------------------------------
1 | depends = posix
2 | package = platform.iconv
3 | headers = iconv.h
4 | headerFilter = **
5 | linkerOpts = -liconv
6 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/ios/set_depends.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | ../../../../dist/bin/run_konan defFileDependencies -target ios_arm32 -target ios_arm64 -target ios_x64 *.def
3 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/linux/iconv.def:
--------------------------------------------------------------------------------
1 | depends = posix
2 | package = platform.iconv
3 | headers = iconv.h
4 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/mingw/gdiplus.def:
--------------------------------------------------------------------------------
1 | depends = windows posix
2 | package = platform.gdiplus
3 | headers = wtypes.h minwindef.h wtypes.h gdiplus/gdiplus.h
4 | headerFilter = gdiplus/**
5 | compilerOpts = -DUNICODE
6 | linkerOpts = -lgdiplus
--------------------------------------------------------------------------------
/platformLibs/src/platform/mingw/opengl32.def:
--------------------------------------------------------------------------------
1 | package = platform.opengl32
2 | headers = GL/gl.h GL/glext.h
3 | headerFilter = GL/gl.h GL/glext.h
4 | compilerOpts = -DUNICODE
5 | linkerOpts = -lopengl32
6 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/AGL.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.AGL
3 | modules = AGL
4 | compilerOpts = -framework AGL
5 | linkerOpts = -framework AGL
6 | #Disabled: Deprecated.
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/AppleScriptKit.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.AppleScriptKit
3 | modules = AppleScriptKit
4 | compilerOpts = -framework AppleScriptKit
5 | linkerOpts = -framework AppleScriptKit
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/AppleScriptObjC.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.AppleScriptObjC
3 | modules = AppleScriptObjC
4 | compilerOpts = -framework AppleScriptObjC
5 | linkerOpts = -framework AppleScriptObjC
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/AudioVideoBridging.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.AudioVideoBridging
3 | modules = AudioVideoBridging
4 | compilerOpts = -framework AudioVideoBridging
5 | linkerOpts = -framework AudioVideoBridging
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/Automator.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.Automator
3 | modules = Automator
4 | compilerOpts = -framework Automator
5 | linkerOpts = -framework Automator
6 | #Disabled: depends on Carbon.
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/CalendarStore.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.CalendarStore
3 | modules = CalendarStore
4 | compilerOpts = -framework CalendarStore
5 | linkerOpts = -framework CalendarStore
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/Carbon.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.Carbon
3 | modules = Carbon
4 | compilerOpts = -framework Carbon
5 | linkerOpts = -framework Carbon
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/ColorSync.def.disabled:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.ColorSync
4 | modules = ColorSync
5 | compilerOpts = -framework ColorSync
6 | linkerOpts = -framework ColorSync
7 | #Disabled: ColorSync is a part of ApplicationServices framework.
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/Combine.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.Combine
3 | modules = Combine
4 | compilerOpts = -framework Combine
5 | linkerOpts = -framework Combine
6 | #Disabled: Swift-only framework
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/CommonCrypto.def:
--------------------------------------------------------------------------------
1 | depends = darwin posix
2 | language = Objective-C
3 | package = platform.CoreCrypto
4 | modules = CommonCrypto
5 |
6 | compilerOpts = -D_XOPEN_SOURCE
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/CoreAudioTypes.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.CoreAudioTypes
4 | modules = CoreAudioTypes
5 |
6 | compilerOpts = -framework CoreAudioTypes
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/CoreDisplay.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.CoreDisplay
3 | modules = CoreDisplay
4 | compilerOpts = -framework CoreDisplay
5 | linkerOpts = -framework CoreDisplay
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/CoreFoundation.def:
--------------------------------------------------------------------------------
1 | depends = darwin posix
2 | language = Objective-C
3 | package = platform.CoreFoundation
4 | modules = CoreFoundation
5 |
6 | compilerOpts = -framework CoreFoundation
7 | linkerOpts = -framework CoreFoundation
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/CoreGraphics.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation IOKit darwin libkern posix
2 | language = Objective-C
3 | package = platform.CoreGraphics
4 | modules = CoreGraphics
5 |
6 | compilerOpts = -framework CoreGraphics
7 | linkerOpts = -framework CoreGraphics
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/CoreHaptics.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Foundation darwin posix
2 | language = Objective-C
3 | package = platform.CoreHaptics
4 | modules = CoreHaptics
5 |
6 | compilerOpts = -framework CoreHaptics
7 | linkerOpts = -framework CoreHaptics
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/CoreMIDIServer.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.CoreMIDIServer
3 | modules = CoreMIDIServer
4 | compilerOpts = -framework CoreMIDIServer
5 | linkerOpts = -framework CoreMIDIServer
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/CoreMediaIO.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.CoreMediaIO
3 | modules = CoreMediaIO
4 | compilerOpts = -framework CoreMediaIO
5 | linkerOpts = -framework CoreMediaIO
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/CoreTelephony.def:
--------------------------------------------------------------------------------
1 | depends = posix
2 | language = Objective-C
3 | package = platform.CoreTelephony
4 | modules = CoreTelephony
5 |
6 | compilerOpts = -framework CoreTelephony
7 | linkerOpts = -framework CoreTelephony
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/CoreText.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics IOKit darwin libkern posix
2 | language = Objective-C
3 | package = platform.CoreText
4 | modules = CoreText
5 |
6 | compilerOpts = -framework CoreText
7 | linkerOpts = -framework CoreText
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/CryptoKit.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.CryptoKit
3 | modules = CryptoKit
4 | compilerOpts = -framework CryptoKit
5 | linkerOpts = -framework CryptoKit
6 | #Disabled: Swift-only framework
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/DVDPlayback.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.DVDPlayback
3 | modules = DVDPlayback
4 | compilerOpts = -framework DVDPlayback
5 | linkerOpts = -framework DVDPlayback
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/DeveloperToolsSupport.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.DeveloperToolsSupport
3 |
4 | modules = DeveloperToolsSupport
5 | compilerOpts = -framework DeveloperToolsSupport
6 | linkerOpts = -framework DeveloperToolsSupport
7 | #Disabled: Swift-only framework
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/DirectoryService.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.DirectoryService
3 | modules = DirectoryService
4 | compilerOpts = -framework DirectoryService
5 | linkerOpts = -framework DirectoryService
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/DiscRecording.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.DiscRecording
3 | modules = DiscRecording
4 | compilerOpts = -framework DiscRecording
5 | linkerOpts = -framework DiscRecording
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/DiscRecordingUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.DiscRecordingUI
3 | modules = DiscRecordingUI
4 | compilerOpts = -framework DiscRecordingUI
5 | linkerOpts = -framework DiscRecordingUI
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/DiskArbitration.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation IOKit darwin libkern posix
2 | language = Objective-C
3 | package = platform.DiskArbitration
4 | modules = DiskArbitration
5 |
6 | compilerOpts = -framework DiskArbitration
7 | linkerOpts = -framework DiskArbitration
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/DriverKit.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.DriverKit
3 | modules = DriverKit
4 | compilerOpts = -framework DriverKit
5 | linkerOpts = -framework DriverKit
6 | #Disabled: part of DriverKit
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/FWAUserLib.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation IOKit darwin libkern posix
2 | language = Objective-C
3 | package = platform.FWAUserLib
4 | modules = FWAUserLib
5 |
6 | compilerOpts = -framework FWAUserLib
7 | linkerOpts = -framework FWAUserLib
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/ForceFeedback.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation IOKit darwin libkern posix
2 | language = Objective-C
3 | package = platform.ForceFeedback
4 | modules = ForceFeedback
5 |
6 | compilerOpts = -framework ForceFeedback
7 | linkerOpts = -framework ForceFeedback
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/GSS.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.GSS
4 | modules = GSS
5 |
6 | compilerOpts = -framework GSS
7 | linkerOpts = -framework GSS
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/HIDDriverKit.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.HIDDriverKit
3 | modules = HIDDriverKit
4 | compilerOpts = -framework HIDDriverKit
5 | linkerOpts = -framework HIDDriverKit
6 | #Disabled: part of DriverKit
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/ICADevices.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.ICADevices
3 | modules = ICADevices
4 | compilerOpts = -framework ICADevices
5 | linkerOpts = -framework ICADevices
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/IMServicePlugIn.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.IMServicePlugIn
3 | modules = IMServicePlugIn
4 | compilerOpts = -framework IMServicePlugIn
5 | linkerOpts = -framework IMServicePlugIn
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/IOKit.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation darwin libkern posix
2 | language = Objective-C
3 | package = platform.IOKit
4 | modules = IOKit
5 |
6 | compilerOpts = -framework IOKit
7 | linkerOpts = -framework IOKit
8 |
9 | excludedFunctions = IOURLWriteDataAndPropertiesToResource
10 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/ImageIO.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics IOKit darwin libkern posix
2 | language = Objective-C
3 | package = platform.ImageIO
4 | modules = ImageIO
5 |
6 | compilerOpts = -framework ImageIO
7 | linkerOpts = -framework ImageIO
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/InputMethodKit.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.InputMethodKit
3 | modules = InputMethodKit
4 | compilerOpts = -framework InputMethodKit
5 | linkerOpts = -framework InputMethodKit
6 | #Disabled: Deprecated
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/InstallerPlugins.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.InstallerPlugins
3 | modules = InstallerPlugins
4 | compilerOpts = -framework InstallerPlugins
5 | linkerOpts = -framework InstallerPlugins
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/InstantMessage.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.InstantMessage
3 | modules = InstantMessage
4 | compilerOpts = -framework InstantMessage
5 | linkerOpts = -framework InstantMessage
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/JavaFrameEmbedding.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.JavaFrameEmbedding
3 | modules = JavaFrameEmbedding
4 | compilerOpts = -framework JavaFrameEmbedding
5 | linkerOpts = -framework JavaFrameEmbedding
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/JavaVM.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.JavaVM
3 | modules = JavaVM
4 | compilerOpts = -framework JavaVM
5 | linkerOpts = -framework JavaVM
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/Kerberos.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.Kerberos
3 | modules = Kerberos
4 | compilerOpts = -framework Kerberos
5 | linkerOpts = -framework Kerberos
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/Kernel.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.Kernel
3 | modules = Kernel
4 | compilerOpts = -framework Kernel
5 | linkerOpts = -framework Kernel
6 | #Disabled: Framework without module
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/LDAP.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.LDAP
3 | modules = LDAP
4 | compilerOpts = -framework LDAP
5 | linkerOpts = -framework LDAP
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/LatentSemanticMapping.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.LatentSemanticMapping
3 | modules = LatentSemanticMapping
4 | compilerOpts = -framework LatentSemanticMapping
5 | linkerOpts = -framework LatentSemanticMapping
6 | #Disabled: Framework without module
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/Message.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.Message
3 | modules = Message
4 | compilerOpts = -framework Message
5 | linkerOpts = -framework Message
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/MorphunAssetsUpdater.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.MorphunAssetsUpdater
3 | modules = MorphunAssetsUpdater
4 | compilerOpts = -framework MorphunAssetsUpdater
5 | linkerOpts = -framework MorphunAssetsUpdater
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/NetFS.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.NetFS
3 | modules = NetFS
4 | compilerOpts = -framework NetFS
5 | linkerOpts = -framework NetFS
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/Network.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Security darwin posix
2 | language = Objective-C
3 | package = platform.Network
4 | modules = Network
5 |
6 | compilerOpts = -framework Network
7 | linkerOpts = -framework Network
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/NetworkingDriverKit.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.NetworkingDriverKit
3 | modules = NetworkingDriverKit
4 | compilerOpts = -framework NetworkingDriverKit
5 | linkerOpts = -framework NetworkingDriverKit
6 | #Disabled: part of DriverKit
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/OSAKit.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.OSAKit
3 | modules = OSAKit
4 | compilerOpts = -framework OSAKit
5 | linkerOpts = -framework OSAKit
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/OpenAL.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.OpenAL
3 | modules = OpenAL
4 | compilerOpts = -framework OpenAL
5 | linkerOpts = -framework OpenAL
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/OpenCL.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.OpenCL
3 | modules = OpenCL
4 | compilerOpts = -framework OpenCL
5 | linkerOpts = -framework OpenCL
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/OpenGL.def:
--------------------------------------------------------------------------------
1 | depends = OpenGLCommon darwin posix
2 | language = Objective-C
3 | package = platform.OpenGL
4 | headers = OpenGL/glu.h
5 |
6 | headerFilter = OpenGL/gl.h OpenGL/glext.h OpenGL/glu.h
7 |
8 | compilerOpts = -framework OpenGL
9 | linkerOpts = -framework OpenGL
10 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/OpenGL3.def:
--------------------------------------------------------------------------------
1 | depends = OpenGLCommon darwin posix
2 | language = Objective-C
3 | package = platform.OpenGL3
4 | headers = OpenGL/gl3.h OpenGL/gl3ext.h
5 |
6 | headerFilter = OpenGL/gl3.h OpenGL/gl3ext.h
7 |
8 | compilerOpts = -framework OpenGL
9 | linkerOpts = -framework OpenGL
10 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/OpenGLCommon.def:
--------------------------------------------------------------------------------
1 | depends = darwin posix
2 | language = Objective-C
3 | package = platform.OpenGLCommon
4 | headers = OpenGL/OpenGL.h
5 |
6 | headerFilter = OpenGL/**
7 |
8 | compilerOpts = -framework OpenGL
9 | linkerOpts = -framework OpenGL
10 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/PCIDriverKit.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.PCIDriverKit
3 | modules = PCIDriverKit
4 | compilerOpts = -framework PCIDriverKit
5 | linkerOpts = -framework PCIDriverKit
6 | #Disabled: part of DriverKit
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/PCSC.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.PCSC
3 | modules = PCSC
4 | compilerOpts = -framework PCSC
5 | linkerOpts = -framework PCSC
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/Python.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.Python
3 | modules = Python
4 | compilerOpts = -framework Python
5 | linkerOpts = -framework Python
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/QTKit.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.QTKit
3 | modules = QTKit
4 | compilerOpts = -framework QTKit
5 | linkerOpts = -framework QTKit
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/RealityKit.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.RealityKit
3 | modules = RealityKit
4 | compilerOpts = -framework RealityKit
5 | linkerOpts = -framework RealityKit
6 | #Disabled: Swift-only framework
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/Ruby.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.Ruby
3 | modules = Ruby
4 | compilerOpts = -framework Ruby
5 | linkerOpts = -framework Ruby
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/ServiceManagement.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Security darwin posix
2 | language = Objective-C
3 | package = platform.ServiceManagement
4 | modules = ServiceManagement
5 |
6 | compilerOpts = -framework ServiceManagement
7 | linkerOpts = -framework ServiceManagement
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.SwiftUI
3 | modules = SwiftUI
4 | compilerOpts = -framework SwiftUI
5 | linkerOpts = -framework SwiftUI
6 | #Disabled: Swift-only framework
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/SyncServices.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.SyncServices
3 | modules = SyncServices
4 | compilerOpts = -framework SyncServices
5 | linkerOpts = -framework SyncServices
6 | #Disabled: Deprecated in 10.7
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/System.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.System
3 | modules = System
4 | compilerOpts = -framework System
5 | linkerOpts = -framework System
6 | #Disabled: Swift-only framework
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/SystemConfiguration.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Security darwin posix
2 | language = Objective-C
3 | package = platform.SystemConfiguration
4 | modules = SystemConfiguration
5 |
6 | compilerOpts = -framework SystemConfiguration
7 | linkerOpts = -framework SystemConfiguration
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/TWAIN.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.TWAIN
3 | modules = TWAIN
4 | compilerOpts = -framework TWAIN
5 | linkerOpts = -framework TWAIN
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/Tcl.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.Tcl
3 | modules = Tcl
4 | compilerOpts = -framework Tcl
5 | linkerOpts = -framework Tcl
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/Tk.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.Tk
3 | modules = Tk
4 | compilerOpts = -framework Tk
5 | linkerOpts = -framework Tk
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/USBDriverKit.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.USBDriverKit
3 | modules = USBDriverKit
4 | compilerOpts = -framework USBDriverKit
5 | linkerOpts = -framework USBDriverKit
6 | #Disabled: part of DriverKit
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/VideoDecodeAcceleration.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.VideoDecodeAcceleration
3 | modules = VideoDecodeAcceleration
4 | compilerOpts = -framework VideoDecodeAcceleration
5 | linkerOpts = -framework VideoDecodeAcceleration
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/VideoSubscriberAccount.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Foundation darwin posix
2 | language = Objective-C
3 | package = platform.VideoSubscriberAccount
4 | modules = VideoSubscriberAccount
5 | compilerOpts = -framework VideoSubscriberAccount
6 | linkerOpts = -framework VideoSubscriberAccount
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/WidgetKit.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.WidgetKit
3 |
4 | modules = WidgetKit
5 | compilerOpts = -framework WidgetKit
6 | linkerOpts = -framework WidgetKit
7 | #Disabled: Swift-only framework
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/_AVKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._AVKit_SwiftUI
3 |
4 | modules = _AVKit_SwiftUI
5 | compilerOpts = -framework _AVKit_SwiftUI
6 | linkerOpts = -framework _AVKit_SwiftUI
7 | #Disabled: Unavailable
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/_MapKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._MapKit_SwiftUI
3 |
4 | modules = _MapKit_SwiftUI
5 | compilerOpts = -framework _MapKit_SwiftUI
6 | linkerOpts = -framework _MapKit_SwiftUI
7 | #Disabled: Unavailable
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/_QuickLook_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._QuickLook_SwiftUI
3 |
4 | modules = _QuickLook_SwiftUI
5 | compilerOpts = -framework _QuickLook_SwiftUI
6 | linkerOpts = -framework _QuickLook_SwiftUI
7 | #Disabled: Unavailable
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/_SceneKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._SceneKit_SwiftUI
3 |
4 | modules = _SceneKit_SwiftUI
5 | compilerOpts = -framework _SceneKit_SwiftUI
6 | linkerOpts = -framework _SceneKit_SwiftUI
7 | #Disabled: Unavailable
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/_SpriteKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._SpriteKit_SwiftUI
3 |
4 | modules = _SpriteKit_SwiftUI
5 | compilerOpts = -framework _SpriteKit_SwiftUI
6 | linkerOpts = -framework _SpriteKit_SwiftUI
7 | #Disabled: Unavailable
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/_StoreKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._StoreKit_SwiftUI
3 |
4 | modules = _StoreKit_SwiftUI
5 | compilerOpts = -framework _StoreKit_SwiftUI
6 | linkerOpts = -framework _StoreKit_SwiftUI
7 | #Disabled: Unavailable
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/iconv.def:
--------------------------------------------------------------------------------
1 | depends = posix
2 | package = platform.iconv
3 | headers = iconv.h
4 | headerFilter = **
5 | linkerOpts = -liconv
6 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/libkern.def:
--------------------------------------------------------------------------------
1 | depends = darwin posix
2 | language = Objective-C
3 | package = platform.libkern
4 | headers = libkern/OSTypes.h libkern/OSReturn.h libkern/OSAtomic.h device/device_types.h device/device_types.h
5 |
6 | headerFilter = libkern/** device/**
7 |
8 | compilerOpts = -DIOKIT
9 | linkerOpts =
10 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/set_depends.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | ../../../../dist/bin/run_konan defFileDependencies -target macos_x64 -target macos_arm64 *.def
3 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/osx/vmnet.def:
--------------------------------------------------------------------------------
1 | depends = darwin posix
2 | language = Objective-C
3 | package = platform.vmnet
4 | modules = vmnet
5 |
6 | compilerOpts = -framework vmnet
7 | linkerOpts = -framework vmnet
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/Accelerate.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics CoreVideo IOSurface darwin posix
2 | language = Objective-C
3 | package = platform.Accelerate
4 | modules = Accelerate
5 |
6 | compilerOpts = -framework Accelerate
7 | linkerOpts = -framework Accelerate
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/Accessibility.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreGraphics Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.Accessibility
4 | modules = Accessibility
5 | compilerOpts = -framework Accessibility
6 | linkerOpts = -framework Accessibility
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/AdSupport.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.AdSupport
4 | modules = AdSupport
5 |
6 | compilerOpts = -framework AdSupport
7 | linkerOpts = -framework AdSupport
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/AppTrackingTransparency.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.AppTrackingTransparency
4 | modules = AppTrackingTransparency
5 | compilerOpts = -framework AppTrackingTransparency
6 | linkerOpts = -framework AppTrackingTransparency
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/AudioToolbox.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreAudioTypes CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.AudioToolbox
4 | modules = AudioToolbox AudioUnit
5 |
6 | compilerOpts = -framework AudioToolbox
7 | linkerOpts = -framework AudioToolbox
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/AudioUnit.def.disabled:
--------------------------------------------------------------------------------
1 | depends = AudioToolbox CFNetwork CoreAudioTypes CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.AudioUnit
4 | modules = AudioUnit
5 | compilerOpts = -framework AudioUnit
6 | linkerOpts = -framework AudioUnit
7 | #Disabled: part of AudioToolbox
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/BackgroundTasks.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.BackgroundTasks
4 | modules = BackgroundTasks
5 |
6 | compilerOpts = -framework BackgroundTasks
7 | linkerOpts = -framework BackgroundTasks
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/CFNetwork.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.CFNetwork
4 | modules = CFNetwork
5 |
6 | compilerOpts = -framework CFNetwork
7 | linkerOpts = -framework CFNetwork
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/CloudKit.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreLocation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.CloudKit
4 | modules = CloudKit
5 |
6 | compilerOpts = -framework CloudKit
7 | linkerOpts = -framework CloudKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/Combine.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.Combine
3 | modules = Combine
4 | compilerOpts = -framework Combine
5 | linkerOpts = -framework Combine
6 | #Disabled: Swift-only framework
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/CommonCrypto.def:
--------------------------------------------------------------------------------
1 | depends = darwin posix
2 | language = Objective-C
3 | package = platform.CoreCrypto
4 | modules = CommonCrypto
5 |
6 | compilerOpts = -D_XOPEN_SOURCE
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/CoreAudio.def:
--------------------------------------------------------------------------------
1 | depends = CoreAudioTypes CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.CoreAudio
4 | modules = CoreAudio
5 |
6 | compilerOpts = -framework CoreAudio
7 | linkerOpts = -framework CoreAudio
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/CoreAudioKit.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.CoreAudioKit
3 |
4 | modules = CoreAudioKit
5 | compilerOpts = -framework CoreAudioKit
6 | linkerOpts = -framework CoreAudioKit
7 | #Disabled: Not officially available for tvos
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/CoreAudioTypes.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.CoreAudioTypes
4 | modules = CoreAudioTypes
5 |
6 | compilerOpts = -framework CoreAudioTypes
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/CoreBluetooth.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.CoreBluetooth
4 | modules = CoreBluetooth
5 |
6 | compilerOpts = -framework CoreBluetooth
7 | linkerOpts = -framework CoreBluetooth
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/CoreData.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CloudKit CoreFoundation CoreLocation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.CoreData
4 | modules = CoreData
5 |
6 | compilerOpts = -framework CoreData
7 | linkerOpts = -framework CoreData
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/CoreFoundation.def:
--------------------------------------------------------------------------------
1 | depends = darwin posix
2 | language = Objective-C
3 | package = platform.CoreFoundation
4 | modules = CoreFoundation
5 |
6 | compilerOpts = -framework CoreFoundation
7 | linkerOpts = -framework CoreFoundation
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/CoreGraphics.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.CoreGraphics
4 | modules = CoreGraphics
5 |
6 | compilerOpts = -framework CoreGraphics
7 | linkerOpts = -framework CoreGraphics
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/CoreHaptics.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Foundation darwin posix
2 | language = Objective-C
3 | package = platform.CoreHaptics
4 | modules = CoreHaptics
5 | compilerOpts = -framework CoreHaptics
6 | linkerOpts = -framework CoreHaptics
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/CoreImage.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreGraphics CoreVideo EAGL Foundation IOSurface ImageIO Metal OpenGLESCommon Security darwin posix
2 | language = Objective-C
3 | package = platform.CoreImage
4 | modules = CoreImage
5 |
6 | compilerOpts = -framework CoreImage
7 | linkerOpts = -framework CoreImage
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/CoreLocation.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.CoreLocation
4 | modules = CoreLocation
5 |
6 | compilerOpts = -framework CoreLocation
7 | linkerOpts = -framework CoreLocation
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/CoreML.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreGraphics CoreVideo Foundation IOSurface ImageIO Security darwin posix
2 | language = Objective-C
3 | package = platform.CoreML
4 | modules = CoreML
5 |
6 | compilerOpts = -framework CoreML
7 | linkerOpts = -framework CoreML
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/CoreServices.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.CoreServices
4 | modules = CoreServices
5 |
6 | compilerOpts = -framework CoreServices
7 | linkerOpts = -framework CoreServices
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/CoreSpotlight.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security UniformTypeIdentifiers darwin posix
2 | language = Objective-C
3 | package = platform.CoreSpotlight
4 | modules = CoreSpotlight
5 |
6 | compilerOpts = -framework CoreSpotlight
7 | linkerOpts = -framework CoreSpotlight
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/CoreText.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics darwin posix
2 | language = Objective-C
3 | package = platform.CoreText
4 | modules = CoreText
5 |
6 | compilerOpts = -framework CoreText
7 | linkerOpts = -framework CoreText
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/CoreVideo.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreGraphics Foundation IOSurface Metal OpenGLESCommon Security darwin posix
2 | language = Objective-C
3 | package = platform.CoreVideo
4 | modules = CoreVideo
5 |
6 | compilerOpts = -framework CoreVideo
7 | linkerOpts = -framework CoreVideo
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/CryptoKit.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.CryptoKit
3 | modules = CryptoKit
4 | compilerOpts = -framework CryptoKit
5 | linkerOpts = -framework CryptoKit
6 | #Disabled: Swift-only framework
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/CryptoTokenKit.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.CryptoTokenKit
4 | modules = CryptoTokenKit
5 |
6 | compilerOpts = -framework CryptoTokenKit
7 | linkerOpts = -framework CryptoTokenKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/DeveloperToolsSupport.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.DeveloperToolsSupport
3 | modules = DeveloperToolsSupport
4 | compilerOpts = -framework DeveloperToolsSupport
5 | linkerOpts = -framework DeveloperToolsSupport
6 | #Disabled: Swift-only framework
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/DeviceCheck.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.DeviceCheck
4 | modules = DeviceCheck
5 |
6 | compilerOpts = -framework DeviceCheck
7 | linkerOpts = -framework DeviceCheck
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/EAGL.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.EAGL
4 | headers = OpenGLES/EAGL.h OpenGLES/EAGLDrawable.h
5 |
6 | headerFilter = OpenGLES/**
7 |
8 | compilerOpts = -framework OpenGLES
9 | linkerOpts = -framework OpenGLES
10 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/ExposureNotification.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.ExposureNotification
3 | modules = ExposureNotification
4 | compilerOpts = -framework ExposureNotification
5 | linkerOpts = -framework ExposureNotification
6 | #Disabled: Not officially available for tvos
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/ExternalAccessory.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.ExternalAccessory
4 | modules = ExternalAccessory
5 |
6 | compilerOpts = -framework ExternalAccessory
7 | linkerOpts = -framework ExternalAccessory
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/Foundation.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Security darwin posix
2 | language = Objective-C
3 | package = platform.Foundation
4 | modules = Foundation
5 |
6 | compilerOpts = -framework Foundation
7 | linkerOpts = -framework Foundation
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/IOKit.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.IOKit
3 |
4 | modules = IOKit
5 | compilerOpts = -framework IOKit
6 | linkerOpts = -framework IOKit
7 | #Disabled: Not officially available for tvos
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/IOSurface.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.IOSurface
4 | modules = IOSurface
5 |
6 | compilerOpts = -framework IOSurface
7 | linkerOpts = -framework IOSurface
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/ImageIO.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics darwin posix
2 | language = Objective-C
3 | package = platform.ImageIO
4 | modules = ImageIO
5 |
6 | compilerOpts = -framework ImageIO
7 | linkerOpts = -framework ImageIO
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/Intents.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreGraphics CoreLocation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.Intents
4 | modules = Intents
5 | compilerOpts = -framework Intents
6 | linkerOpts = -framework Intents
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/JavaScriptCore.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreGraphics Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.JavaScriptCore
4 | modules = JavaScriptCore
5 |
6 | compilerOpts = -framework JavaScriptCore
7 | linkerOpts = -framework JavaScriptCore
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/LocalAuthentication.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.LocalAuthentication
3 |
4 | modules = LocalAuthentication
5 | compilerOpts = -framework LocalAuthentication
6 | linkerOpts = -framework LocalAuthentication
7 | #Disabled: Not officially available for tvos
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/MLCompute.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation IOSurface Metal Security darwin posix
2 | language = Objective-C
3 | package = platform.MLCompute
4 |
5 | modules.tvos_arm64 = MLCompute
6 | compilerOpts.tvos_arm64 = -framework MLCompute
7 | linkerOpts.tvos_arm64 = -framework MLCompute
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/MessageUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.MessageUI
3 |
4 | modules = MessageUI
5 | compilerOpts = -framework MessageUI
6 | linkerOpts = -framework MessageUI
7 | #Disabled: Not officially available for tvos
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/Metal.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation IOSurface Security darwin posix
2 | language = Objective-C
3 | package = platform.Metal
4 | modules = Metal
5 |
6 | compilerOpts = -framework Metal
7 | linkerOpts = -framework Metal
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/MetricKit.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.MetricKit
4 | modules = MetricKit
5 |
6 | compilerOpts = -framework MetricKit
7 | linkerOpts = -framework MetricKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/MobileCoreServices.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreServices darwin posix
2 | language = Objective-C
3 | package = platform.MobileCoreServices
4 | modules = MobileCoreServices
5 |
6 | compilerOpts = -framework MobileCoreServices
7 | linkerOpts = -framework MobileCoreServices
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/ModelIO.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreGraphics Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.ModelIO
4 | modules = ModelIO
5 |
6 | compilerOpts = -framework ModelIO
7 | linkerOpts = -framework ModelIO
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/NaturalLanguage.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.NaturalLanguage
4 | modules = NaturalLanguage
5 |
6 | compilerOpts = -framework NaturalLanguage
7 | linkerOpts = -framework NaturalLanguage
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/Network.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Security darwin posix
2 | language = Objective-C
3 | package = platform.Network
4 | modules = Network
5 |
6 | compilerOpts = -framework Network
7 | linkerOpts = -framework Network
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/OSLog.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.OSLog
3 | modules = OSLog
4 | compilerOpts = -framework OSLog
5 | linkerOpts = -framework OSLog
6 | #Disabled: Not officially available for tvos
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/OpenAL.def:
--------------------------------------------------------------------------------
1 | depends = darwin posix
2 | language = Objective-C
3 | package = platform.OpenAL
4 | modules = OpenAL
5 |
6 | compilerOpts = -framework OpenAL
7 | linkerOpts = -framework OpenAL
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/OpenGLES.def:
--------------------------------------------------------------------------------
1 | depends = EAGL OpenGLESCommon darwin posix
2 | language = Objective-C
3 | package = platform.gles
4 | headers = OpenGLES/ES1/gl.h OpenGLES/ES1/glext.h
5 |
6 | headerFilter = OpenGLES/ES1/**
7 |
8 | compilerOpts = -framework OpenGLES
9 | linkerOpts = -framework OpenGLES
10 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/OpenGLES2.def:
--------------------------------------------------------------------------------
1 | depends = EAGL OpenGLESCommon darwin posix
2 | language = Objective-C
3 | package = platform.gles2
4 | headers = OpenGLES/ES2/gl.h OpenGLES/ES2/glext.h
5 |
6 | headerFilter = OpenGLES/ES2/**
7 |
8 | compilerOpts = -framework OpenGLES
9 | linkerOpts = -framework OpenGLES
10 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/OpenGLES3.def:
--------------------------------------------------------------------------------
1 | depends = EAGL OpenGLESCommon darwin posix
2 | language = Objective-C
3 | package = platform.gles3
4 | headers = OpenGLES/ES3/gl.h OpenGLES/ES3/glext.h
5 |
6 | headerFilter = OpenGLES/ES3/**
7 |
8 | compilerOpts = -framework OpenGLES
9 | linkerOpts = -framework OpenGLES
10 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/OpenGLESCommon.def:
--------------------------------------------------------------------------------
1 | depends = posix
2 | language = Objective-C
3 | package = platform.glescommon
4 | headers = OpenGLES/gltypes.h
5 |
6 | headerFilter = OpenGLES/gltypes.h
7 |
8 | compilerOpts = -framework OpenGLES
9 | linkerOpts = -framework OpenGLES
10 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/Security.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.Security
4 | modules = Security
5 |
6 | compilerOpts = -framework Security
7 | linkerOpts = -framework Security
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.SwiftUI
3 | modules = SwiftUI
4 | compilerOpts = -framework SwiftUI
5 | linkerOpts = -framework SwiftUI
6 | #Disabled: Swift-only framework
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/SystemConfiguration.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.SystemConfiguration
4 | modules = SystemConfiguration
5 |
6 | compilerOpts = -framework SystemConfiguration
7 | linkerOpts = -framework SystemConfiguration
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/TVServices.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation CoreGraphics Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.TVServices
4 | modules = TVServices
5 |
6 | compilerOpts = -framework TVServices
7 | linkerOpts = -framework TVServices
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/UniformTypeIdentifiers.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.UniformTypeIdentifiers
4 | modules = UniformTypeIdentifiers
5 | compilerOpts = -framework UniformTypeIdentifiers
6 | linkerOpts = -framework UniformTypeIdentifiers
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/UserNotifications.def:
--------------------------------------------------------------------------------
1 | depends = CFNetwork CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.UserNotifications
4 | modules = UserNotifications
5 |
6 | compilerOpts = -framework UserNotifications
7 | linkerOpts = -framework UserNotifications
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/VideoSubscriberAccount.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Foundation darwin posix
2 | language = Objective-C
3 | package = platform.VideoSubscriberAccount
4 | modules = VideoSubscriberAccount
5 |
6 | compilerOpts = -framework VideoSubscriberAccount
7 | linkerOpts = -framework VideoSubscriberAccount
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/_AVKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._AVKit_SwiftUI
3 | modules = _AVKit_SwiftUI
4 | compilerOpts = -framework _AVKit_SwiftUI
5 | linkerOpts = -framework _AVKit_SwiftUI
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/_HomeKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._HomeKit_SwiftUI
3 | modules = _HomeKit_SwiftUI
4 | compilerOpts = -framework _HomeKit_SwiftUI
5 | linkerOpts = -framework _HomeKit_SwiftUI
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/_MapKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._MapKit_SwiftUI
3 | modules = _MapKit_SwiftUI
4 | compilerOpts = -framework _MapKit_SwiftUI
5 | linkerOpts = -framework _MapKit_SwiftUI
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/_SceneKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._SceneKit_SwiftUI
3 | modules = _SceneKit_SwiftUI
4 | compilerOpts = -framework _SceneKit_SwiftUI
5 | linkerOpts = -framework _SceneKit_SwiftUI
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/_SpriteKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._SpriteKit_SwiftUI
3 | modules = _SpriteKit_SwiftUI
4 | compilerOpts = -framework _SpriteKit_SwiftUI
5 | linkerOpts = -framework _SpriteKit_SwiftUI
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/_StoreKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._StoreKit_SwiftUI
3 |
4 | modules = _StoreKit_SwiftUI
5 | compilerOpts = -framework _StoreKit_SwiftUI
6 | linkerOpts = -framework _StoreKit_SwiftUI
7 | #Disabled: Unavailable
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/iconv.def:
--------------------------------------------------------------------------------
1 | depends = posix
2 | package = platform.iconv
3 | headers = iconv.h
4 | headerFilter = **
5 | linkerOpts = -liconv
6 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/tvos/set_depends.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | ../../../../dist/bin/run_konan defFileDependencies -target tvos_arm64 -target tvos_x64 *.def
3 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/AVKit.def:
--------------------------------------------------------------------------------
1 | depends = posix
2 | language = Objective-C
3 | package = platform.AVKit
4 | modules = AVKit
5 | compilerOpts = -framework AVKit
6 | linkerOpts = -framework AVKit
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/Accelerate.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics CoreVideo darwin posix
2 | language = Objective-C
3 | package = platform.Accelerate
4 | modules = Accelerate
5 |
6 | compilerOpts = -framework Accelerate
7 | linkerOpts = -framework Accelerate
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/Accessibility.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.Accessibility
4 | modules = Accessibility
5 | compilerOpts = -framework Accessibility
6 | linkerOpts = -framework Accessibility
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/CFNetwork.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.CFNetwork
3 | modules = CFNetwork
4 | compilerOpts = -framework CFNetwork
5 | linkerOpts = -framework CFNetwork
6 | #Disabled: Not officially available for watchos
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/CloudKit.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreLocation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.CloudKit
4 | modules = CloudKit
5 |
6 | compilerOpts = -framework CloudKit
7 | linkerOpts = -framework CloudKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/Combine.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.Combine
3 | modules = Combine
4 | compilerOpts = -framework Combine
5 | linkerOpts = -framework Combine
6 | #Disabled: Swift-only framework
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/CommonCrypto.def:
--------------------------------------------------------------------------------
1 | depends = darwin posix
2 | language = Objective-C
3 | package = platform.CoreCrypto
4 | modules = CommonCrypto
5 |
6 | compilerOpts = -D_XOPEN_SOURCE
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/Contacts.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.Contacts
4 | modules = Contacts
5 |
6 | compilerOpts = -framework Contacts
7 | linkerOpts = -framework Contacts
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/CoreAudio.def:
--------------------------------------------------------------------------------
1 | depends = CoreAudioTypes CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.CoreAudio
4 | modules = CoreAudio
5 |
6 | compilerOpts = -framework CoreAudio
7 | linkerOpts = -framework CoreAudio
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/CoreAudioTypes.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.CoreAudioTypes
4 | modules = CoreAudioTypes
5 |
6 | compilerOpts = -framework CoreAudioTypes
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/CoreBluetooth.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.CoreBluetooth
4 | modules = CoreBluetooth
5 |
6 | compilerOpts = -framework CoreBluetooth
7 | linkerOpts = -framework CoreBluetooth
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/CoreData.def:
--------------------------------------------------------------------------------
1 | depends = CloudKit CoreFoundation CoreLocation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.CoreData
4 | modules = CoreData
5 |
6 | compilerOpts = -framework CoreData
7 | linkerOpts = -framework CoreData
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/CoreFoundation.def:
--------------------------------------------------------------------------------
1 | depends = darwin posix
2 | language = Objective-C
3 | package = platform.CoreFoundation
4 | modules = CoreFoundation
5 |
6 | compilerOpts = -framework CoreFoundation
7 | linkerOpts = -framework CoreFoundation
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/CoreGraphics.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.CoreGraphics
4 | modules = CoreGraphics
5 |
6 | compilerOpts = -framework CoreGraphics
7 | linkerOpts = -framework CoreGraphics
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/CoreLocation.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.CoreLocation
4 | modules = CoreLocation
5 |
6 | compilerOpts = -framework CoreLocation
7 | linkerOpts = -framework CoreLocation
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/CoreML.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics CoreVideo Foundation ImageIO Security darwin posix
2 | language = Objective-C
3 | package = platform.CoreML
4 | modules = CoreML
5 |
6 | compilerOpts = -framework CoreML
7 | linkerOpts = -framework CoreML
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/CoreMedia.def:
--------------------------------------------------------------------------------
1 | depends = CoreAudio CoreAudioTypes CoreFoundation CoreGraphics CoreVideo darwin posix
2 | language = Objective-C
3 | package = platform.CoreMedia
4 | modules = CoreMedia
5 |
6 | compilerOpts = -framework CoreMedia
7 | linkerOpts = -framework CoreMedia
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/CoreMotion.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.CoreMotion
4 | modules = CoreMotion
5 |
6 | compilerOpts = -framework CoreMotion
7 | linkerOpts = -framework CoreMotion
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/CoreServices.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.CoreServices
4 | modules = CoreServices
5 |
6 | compilerOpts = -framework CoreServices
7 | linkerOpts = -framework CoreServices
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/CoreText.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics darwin posix
2 | language = Objective-C
3 | package = platform.CoreText
4 | modules = CoreText
5 |
6 | compilerOpts = -framework CoreText
7 | linkerOpts = -framework CoreText
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/CoreVideo.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics darwin posix
2 | language = Objective-C
3 | package = platform.CoreVideo
4 | modules = CoreVideo
5 |
6 | compilerOpts = -framework CoreVideo
7 | linkerOpts = -framework CoreVideo
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/CryptoKit.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.CryptoKit
3 | modules = CryptoKit
4 | compilerOpts = -framework CryptoKit
5 | linkerOpts = -framework CryptoKit
6 | #Disabled: Swift-only framework
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/DeveloperToolsSupport.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.DeveloperToolsSupport
3 | modules = DeveloperToolsSupport
4 | compilerOpts = -framework DeveloperToolsSupport
5 | linkerOpts = -framework DeveloperToolsSupport
6 | #Disabled: Swift-only framework
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/EventKit.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics CoreLocation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.EventKit
4 | modules = EventKit
5 |
6 | compilerOpts = -framework EventKit
7 | linkerOpts = -framework EventKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/Foundation.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Security darwin posix
2 | language = Objective-C
3 | package = platform.Foundation
4 | modules = Foundation
5 |
6 | compilerOpts = -framework Foundation
7 | linkerOpts = -framework Foundation
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/GameKit.def:
--------------------------------------------------------------------------------
1 | depends = Contacts CoreFoundation CoreGraphics CoreText Foundation SceneKit Security SpriteKit UIKit darwin posix
2 | language = Objective-C
3 | package = platform.GameKit
4 | modules = GameKit
5 |
6 | compilerOpts = -framework GameKit
7 | linkerOpts = -framework GameKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/HealthKit.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.HealthKit
4 | modules = HealthKit
5 |
6 | compilerOpts = -framework HealthKit
7 | linkerOpts = -framework HealthKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/HomeKit.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.HomeKit
4 | modules = HomeKit
5 |
6 | compilerOpts = -framework HomeKit
7 | linkerOpts = -framework HomeKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/ImageIO.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics darwin posix
2 | language = Objective-C
3 | package = platform.ImageIO
4 | modules = ImageIO
5 |
6 | compilerOpts = -framework ImageIO
7 | linkerOpts = -framework ImageIO
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/Intents.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics CoreLocation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.Intents
4 | modules = Intents
5 |
6 | compilerOpts = -framework Intents
7 | linkerOpts = -framework Intents
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/MapKit.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics CoreLocation CoreText Foundation Security UIKit darwin posix
2 | language = Objective-C
3 | package = platform.MapKit
4 | modules = MapKit
5 |
6 | compilerOpts = -framework MapKit
7 | linkerOpts = -framework MapKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/MediaPlayer.def:
--------------------------------------------------------------------------------
1 | depends = AVFoundation CoreFoundation CoreGraphics CoreMedia Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.MediaPlayer
4 | modules = MediaPlayer
5 |
6 | compilerOpts = -framework MediaPlayer
7 | linkerOpts = -framework MediaPlayer
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/MobileCoreServices.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreServices darwin posix
2 | language = Objective-C
3 | package = platform.MobileCoreServices
4 | modules = MobileCoreServices
5 |
6 | compilerOpts = -framework MobileCoreServices
7 | linkerOpts = -framework MobileCoreServices
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/NaturalLanguage.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.NaturalLanguage
4 | modules = NaturalLanguage
5 |
6 | compilerOpts = -framework NaturalLanguage
7 | linkerOpts = -framework NaturalLanguage
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/Network.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Security darwin posix
2 | language = Objective-C
3 | package = platform.Network
4 | modules = Network
5 |
6 | compilerOpts = -framework Network
7 | linkerOpts = -framework Network
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/NetworkExtension.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Foundation Network Security darwin posix
2 | language = Objective-C
3 | package = platform.NetworkExtension
4 | modules = NetworkExtension
5 | compilerOpts = -framework NetworkExtension
6 | linkerOpts = -framework NetworkExtension
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/PassKit.def:
--------------------------------------------------------------------------------
1 | depends = Contacts CoreFoundation CoreGraphics Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.PassKit
4 | modules = PassKit
5 |
6 | compilerOpts = -framework PassKit
7 | linkerOpts = -framework PassKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/PushKit.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.PushKit
4 | modules = PushKit
5 |
6 | compilerOpts = -framework PushKit
7 | linkerOpts = -framework PushKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/SceneKit.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.SceneKit
4 | modules = SceneKit
5 |
6 | compilerOpts = -framework SceneKit
7 | linkerOpts = -framework SceneKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/Security.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation darwin posix
2 | language = Objective-C
3 | package = platform.Security
4 | modules = Security
5 |
6 | compilerOpts = -framework Security
7 | linkerOpts = -framework Security
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/SpriteKit.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics CoreText Foundation Security UIKit darwin posix
2 | language = Objective-C
3 | package = platform.SpriteKit
4 | modules = SpriteKit
5 |
6 | compilerOpts = -framework SpriteKit
7 | linkerOpts = -framework SpriteKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/StoreKit.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.StoreKit
4 | modules = StoreKit
5 |
6 | compilerOpts = -framework StoreKit
7 | linkerOpts = -framework StoreKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform.SwiftUI
3 | modules = SwiftUI
4 | compilerOpts = -framework SwiftUI
5 | linkerOpts = -framework SwiftUI
6 | #Disabled: Swift-only framework
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/UIKit.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics CoreText Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.UIKit
4 | modules = UIKit
5 |
6 | compilerOpts = -framework UIKit
7 | linkerOpts = -framework UIKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/UniformTypeIdentifiers.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.UniformTypeIdentifiers
4 | modules = UniformTypeIdentifiers
5 | compilerOpts = -framework UniformTypeIdentifiers
6 | linkerOpts = -framework UniformTypeIdentifiers
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/WatchConnectivity.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation Foundation Security darwin posix
2 | language = Objective-C
3 | package = platform.WatchConnectivity
4 | modules = WatchConnectivity
5 |
6 | compilerOpts = -framework WatchConnectivity
7 | linkerOpts = -framework WatchConnectivity
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/WatchKit.def:
--------------------------------------------------------------------------------
1 | depends = CoreFoundation CoreGraphics CoreLocation CoreText Foundation HomeKit MapKit SceneKit Security UIKit darwin posix
2 | language = Objective-C
3 | package = platform.WatchKit
4 | modules = WatchKit
5 |
6 | compilerOpts = -framework WatchKit
7 | linkerOpts = -framework WatchKit
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/_AVKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._AVKit_SwiftUI
3 | modules = _AVKit_SwiftUI
4 | compilerOpts = -framework _AVKit_SwiftUI
5 | linkerOpts = -framework _AVKit_SwiftUI
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/_ClockKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._ClockKit_SwiftUI
3 | modules = _ClockKit_SwiftUI
4 | compilerOpts = -framework _ClockKit_SwiftUI
5 | linkerOpts = -framework _ClockKit_SwiftUI
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/_HomeKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._HomeKit_SwiftUI
3 | modules = _HomeKit_SwiftUI
4 | compilerOpts = -framework _HomeKit_SwiftUI
5 | linkerOpts = -framework _HomeKit_SwiftUI
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/_MapKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._MapKit_SwiftUI
3 | modules = _MapKit_SwiftUI
4 | compilerOpts = -framework _MapKit_SwiftUI
5 | linkerOpts = -framework _MapKit_SwiftUI
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/_SceneKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._SceneKit_SwiftUI
3 | modules = _SceneKit_SwiftUI
4 | compilerOpts = -framework _SceneKit_SwiftUI
5 | linkerOpts = -framework _SceneKit_SwiftUI
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/_SpriteKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._SpriteKit_SwiftUI
3 | modules = _SpriteKit_SwiftUI
4 | compilerOpts = -framework _SpriteKit_SwiftUI
5 | linkerOpts = -framework _SpriteKit_SwiftUI
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/_StoreKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._StoreKit_SwiftUI
3 |
4 | modules = _StoreKit_SwiftUI
5 | compilerOpts = -framework _StoreKit_SwiftUI
6 | linkerOpts = -framework _StoreKit_SwiftUI
7 | #Disabled: Unavailable
8 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/_WatchKit_SwiftUI.def.disabled:
--------------------------------------------------------------------------------
1 | language = Objective-C
2 | package = platform._WatchKit_SwiftUI
3 | modules = _WatchKit_SwiftUI
4 | compilerOpts = -framework _WatchKit_SwiftUI
5 | linkerOpts = -framework _WatchKit_SwiftUI
6 | #Disabled: Unavailable
7 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/iconv.def:
--------------------------------------------------------------------------------
1 | depends = posix
2 | package = platform.iconv
3 | headers = iconv.h
4 | headerFilter = **
5 | linkerOpts = -liconv
6 |
--------------------------------------------------------------------------------
/platformLibs/src/platform/watchos/set_depends.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | ../../../../dist/bin/run_konan defFileDependencies \
3 | -target watchos_arm32 \
4 | -target watchos_x86 \
5 | -target watchos_arm64 \
6 | -target watchos_x64 \
7 | *.def
8 |
9 |
--------------------------------------------------------------------------------
/runtime/src/launcher/js/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/runtime/src/main/cpp/snprintf/COPYING:
--------------------------------------------------------------------------------
1 | UNLESS SPECIFIED OTHERWISE IN THE INDIVIDUAL SOURCE FILES INCLUDED WITH
2 | THIS PACKAGE, they may freely be used, modified and/or redistributed for
3 | any purpose.
4 |
--------------------------------------------------------------------------------
/runtime/src/main/kotlin/kotlin/native/internal/KonanRuntimeTypes.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | package kotlin.native.internal
7 |
8 |
9 | internal class FunctionReference
--------------------------------------------------------------------------------
/runtime/src/main/kotlin/kotlin/reflect/KFunction.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
3 | * that can be found in the LICENSE file.
4 | */
5 |
6 | package kotlin.reflect
7 |
8 | public actual interface KFunction : KCallable, Function
9 |
--------------------------------------------------------------------------------
/runtime/tsan_suppressions.txt:
--------------------------------------------------------------------------------
1 | # Trust mimalloc to be thread safe.
2 | race:^mi_
3 | race:^_mi_
4 |
--------------------------------------------------------------------------------
/samples/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/androidNativeActivity/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/calculator/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/cocoapods/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/coverage/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/csvparser/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/curl/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/echoServer/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/gitchurn/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/globalState/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/gtk/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/html5Canvas/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/libcurl/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/nonBlockingEchoServer/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/objc/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/opengl/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/python_extension/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/simd/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/tensorflow/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/tetris/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/torch/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/uikit/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/videoplayer/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/watchos/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/weather_function/readme.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/win32/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/workers/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/samples/zephyr/README.md:
--------------------------------------------------------------------------------
1 | Moved to https://github.com/JetBrains/kotlin/tree/master/kotlin-native/samples.
2 |
--------------------------------------------------------------------------------
/shared/buildSrc/settings.gradle:
--------------------------------------------------------------------------------
1 | // workaround for https://youtrack.jetbrains.com/issue/IDEA-257366
2 | if (gradle.startParameter.projectDir?.name == 'buildSrc') {
3 | gradle.startParameter.setIncludedBuilds(new ArrayList())
4 | }
--------------------------------------------------------------------------------
/shared/src/main/kotlin/org/jetbrains/kotlin/konan/util/PlatformLibsInfo.kt:
--------------------------------------------------------------------------------
1 | package org.jetbrains.kotlin.konan.util
2 |
3 | object PlatformLibsInfo {
4 | const val namePrefix = "org.jetbrains.kotlin.native.platform."
5 | }
6 |
--------------------------------------------------------------------------------
/tools/benchmarksAnalyzer/gradle.properties:
--------------------------------------------------------------------------------
1 | org.jetbrains.kotlin.native.home=../../dist
2 | org.gradle.jvmargs=-Xmx2048m
3 | # Avoid building platform libraries by the MPP plugin.
4 | kotlin.native.distribution.type=prebuilt
--------------------------------------------------------------------------------
/tools/benchmarksAnalyzer/settings.gradle:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JetBrains/kotlin-native/9fb0a75ab17e9d8cddd2c3d1802a1cdd83774dfa/tools/benchmarksAnalyzer/settings.gradle
--------------------------------------------------------------------------------
/tools/benchmarksAnalyzer/src/nativeInterop/cinterop/libcurl.def:
--------------------------------------------------------------------------------
1 | headers = curl/curl.h
2 | headerFilter = curl/*
3 | linkerOpts.osx = -L/opt/local/lib -L/usr/local/opt/curl/lib -lcurl
4 | linkerOpts.linux = -L/usr/lib64 -L/usr/lib/x86_64-linux-gnu -lcurl
5 | linkerOpts.mingw = -lcurl
6 |
--------------------------------------------------------------------------------
/tools/kotlin-native-gradle-plugin/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name = "kotlin-native-gradle-plugin"
2 | includeBuild '../../shared'
3 |
--------------------------------------------------------------------------------
/tools/performance-server/gradle.properties:
--------------------------------------------------------------------------------
1 | org.jetbrains.kotlin.native.home=../../dist
--------------------------------------------------------------------------------
/tools/performance-server/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JetBrains/kotlin-native/9fb0a75ab17e9d8cddd2c3d1802a1cdd83774dfa/tools/performance-server/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/tools/performance-server/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-bin.zip
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 |
--------------------------------------------------------------------------------
/tools/performance-server/settings.gradle:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JetBrains/kotlin-native/9fb0a75ab17e9d8cddd2c3d1802a1cdd83774dfa/tools/performance-server/settings.gradle
--------------------------------------------------------------------------------
/tools/performance-server/ui/settings.gradle:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JetBrains/kotlin-native/9fb0a75ab17e9d8cddd2c3d1802a1cdd83774dfa/tools/performance-server/ui/settings.gradle
--------------------------------------------------------------------------------
/tools/qemu/create_image.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | docker build -t kotlin-qemu-builder .
--------------------------------------------------------------------------------
/tools/toolchain_builder/create_image.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | docker build -t kotlin-toolchain-builder .
--------------------------------------------------------------------------------