Make NativePtr.toLong() public
This commit is contained in:
committed by
SvyatoslavScherbina
parent
29fb37bdb8
commit
b7695b4f20
@@ -5,7 +5,7 @@ import konan.internal.Intrinsic
|
|||||||
class NativePtr private constructor() {
|
class NativePtr private constructor() {
|
||||||
@Intrinsic external operator fun plus(offset: Long): NativePtr
|
@Intrinsic external operator fun plus(offset: Long): NativePtr
|
||||||
|
|
||||||
@Intrinsic private external fun toLong(): Long
|
@Intrinsic external fun toLong(): Long
|
||||||
|
|
||||||
override fun equals(other: Any?) = (other is NativePtr) && konan.internal.areEqualByValue(this, other)
|
override fun equals(other: Any?) = (other is NativePtr) && konan.internal.areEqualByValue(this, other)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user