rjhdby
08/25/2018, 2:31 PMobject ExampleClass {
fun helloWorld() = println("Hello World!!!")
}
Library's header example_api.h
typedef struct {
example_KNativePtr pinned;
} example_kref_ExampleClass;
...
struct {
example_KType* (*_type)(void);
void (*helloWorld)(example_kref_ExampleClass thiz);
} ExampleClass;
Where I can get example_kref_ExampleClass thiz
?Dominaezzz
08/25/2018, 3:27 PMDominaezzz
08/25/2018, 4:24 PMamorenew
08/26/2018, 10:11 AMjkbbwr
08/26/2018, 9:44 PMjkbbwr
08/26/2018, 11:06 PMrjhdby
08/27/2018, 8:15 AMstderr
? 🙂adev_one
08/27/2018, 11:26 AMbuild.gradle
buildscript {
ext.kotlin_version = '1.2.51'
ext {
coroutines_version = "0.25.0"
}
}
apply plugin: 'kotlin-platform-native'
sourceSets {
main {
component {
baseName.set("NF")
outputKinds = [FRAMEWORK]
target 'ios_arm64', 'ios_x64'//, 'ios_arm32'
}
}
}
dependencies {
compile "org.jetbrains.kotlinx:kotlinx-coroutines-core-native:$coroutines_version"
<...>
}
IosDisplayContext.swift
import NF
@objc
class IosDisplayContext: NSObject, NFCoroutineDispatcher {
}
I’m getting error Use of undeclared type 'NFCoroutineDispatcher'
. How can I use public API of maven dependency from my Swift code?yusuf3000
08/27/2018, 2:14 PMtunedal
08/27/2018, 8:31 PMC:\BuildAgent\work\4d622a065c544371\runtime\src\main\cpp\Memory.cpp:1103: runtime assert: Memory leaks found
Mohit Gurumukhani
08/27/2018, 9:50 PMchickenfresh
08/27/2018, 11:26 PMtunedal
08/28/2018, 12:31 PMAregev2
08/28/2018, 1:55 PMDmitry Kandalov
08/28/2018, 6:55 PMREADME.md
mentions composite build with kotlinProjectPath
property. Does anyone know how to find out which kotlin versions it’s compatible with? (Is it kotlinVersion
value from gradle.properties
?)Aregev2
08/28/2018, 7:47 PMMohit Gurumukhani
08/28/2018, 11:03 PMsksk
08/29/2018, 5:26 AMartifact project(':kdx'), 'kdx'
to the new kotlin dls plugin ?Dominaezzz
08/29/2018, 9:13 AMCPointer<CFunction<...>>
type.Dominaezzz
08/29/2018, 9:30 AM#define
function thing. (On Windows btw).hmole
08/29/2018, 10:18 PMDavid
08/30/2018, 1:43 PMcodeprogression
08/30/2018, 5:25 PMaljosa
08/30/2018, 8:40 PMFunFunction
is and can find any reference. is this a typo?jmhmccr
08/31/2018, 12:49 AMtulio
08/31/2018, 8:57 AMjar
for android and a framework
for iOS. Is there a way to do that currently with kotlin multiplatform/native? (the sample projects are all very coupled)rudolf.hladik
08/31/2018, 2:23 PMtapchicoma
09/02/2018, 7:29 PMbuild.gradle
that applies konan
plugin:
program("foo") {
entryPoint("org.jlleitschuh.gradle.ktlint.sample.native.main")
}
what will be equivalent in new experimental "org.jetbrains.kotlin.native"
plugin? Can figure this out from documentation.Dominaezzz
09/03/2018, 4:35 PMrefTo
function do? Because it seems the target array is unpinned before the function returns.olonho
09/05/2018, 5:05 PMolonho
09/05/2018, 5:05 PMrusshwolf
09/05/2018, 5:11 PMkotlin-multiplatform
one? Or to kotlin-platform-native
? It’s starting to get confusing what “new plugin” means with everything changing so fast.olonho
09/05/2018, 5:13 PMtalking kotlin-platform-native
here