File tree Expand file tree Collapse file tree
commonMain/kotlin/com/ashampoo/xmp/impl
posixMain/kotlin/com/ashampoo/xmp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,9 +128,9 @@ kotlin {
128128
129129 mingwX64(" win" ) {
130130 binaries {
131- executable(
132- buildTypes = setOf ( NativeBuildType . RELEASE )
133- )
131+ executable(setOf ( NativeBuildType . RELEASE )) {
132+ entryPoint = " com.ashampoo.xmp.main "
133+ }
134134 }
135135 }
136136
@@ -191,15 +191,12 @@ kotlin {
191191 macosArm64()
192192 ).forEach {
193193
194- it.binaries.executable(
195- buildTypes = setOf (NativeBuildType .RELEASE )
196- ) {
194+ it.binaries.executable(setOf (NativeBuildType .RELEASE )) {
197195 baseName = " xmpcore"
196+ entryPoint = " com.ashampoo.xmp.main"
198197 }
199198
200- it.binaries.framework(
201- buildTypes = setOf (NativeBuildType .RELEASE )
202- ) {
199+ it.binaries.framework(setOf (NativeBuildType .RELEASE )) {
203200 baseName = " xmpcore"
204201 /* Part of the XCFramework */
205202 xcf.add(this )
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ class XMPIteratorImpl(
7171 this .options = options ? : IteratorOptions ()
7272
7373 // the start node of the iteration depending on the schema and property filter
74- var startNode: XMPNode ? = null
74+ var startNode: XMPNode ?
7575 var initialPath: String? = null
7676 val baseSchema = ! schemaNS.isNullOrEmpty()
7777 val baseProperty = ! propPath.isNullOrEmpty()
Original file line number Diff line number Diff line change 1+ package com.ashampoo.xmp
2+
13import kotlinx.cinterop.CPointer
24import kotlinx.cinterop.UnsafeNumber
35import kotlinx.cinterop.memScoped
Original file line number Diff line number Diff line change 1- import com.ashampoo.xmp.XMPMetaFactory
1+ package com.ashampoo.xmp
2+
23import com.ashampoo.xmp.options.SerializeOptions
34import platform.posix.perror
45
You can’t perform that action at this time.
0 commit comments