Skip to content

Commit

Permalink
make NativeCoreType use nullptr
Browse files Browse the repository at this point in the history
  • Loading branch information
CedNaru committed Oct 13, 2024
1 parent 9bf1339 commit c22bf9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kt/godot-library/src/main/kotlin/godot/core/CoreType.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package godot.core

import godot.common.interop.ValuePointer
import godot.common.interop.VoidPtr
import godot.common.interop.nullptr

/**
* This interface should not be inherited within user code.
Expand All @@ -11,5 +12,5 @@ import godot.common.interop.VoidPtr
interface CoreType

abstract class NativeCoreType : CoreType, ValuePointer {
override var ptr: VoidPtr = 0
override var ptr: VoidPtr = nullptr
}

0 comments on commit c22bf9e

Please sign in to comment.