File tree Expand file tree Collapse file tree
src/main/kotlin/tv/wunderbox/nfd/nfd Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ plugins {
55}
66
77group = " tv.wunderbox"
8- version = " 0.1.1 "
8+ version = " 0.1.2 "
99
1010repositories {
1111 mavenCentral()
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ class NfdFileDialog : FileDialog {
125125 return FileDialog .Error .ERROR .left()
126126 } finally {
127127 nfd.NFD_FreePathN (
128- filePath = outPathPointer,
128+ filePath = outPathPointer.value ,
129129 )
130130 }
131131 outPath.let (::File )
@@ -179,7 +179,7 @@ class NfdFileDialog : FileDialog {
179179 return FileDialog .Error .ERROR .left()
180180 } finally {
181181 nfd.NFD_FreePathN (
182- filePath = outPathPointer,
182+ filePath = outPathPointer.value ,
183183 )
184184 }
185185
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ interface NfdLibraryNativeApi {
7575
7676 fun NFD_PathSet_Free (pathSet : Pointer )
7777
78- fun NFD_FreePathN (filePath : PointerByReference )
78+ fun NFD_FreePathN (filePath : Pointer )
7979
8080 /* *
8181 * Gets the number of entries stored in pathSet
You can’t perform that action at this time.
0 commit comments