godot.core.memory.ReferenceWeakReference.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of godot-runtime Show documentation
Show all versions of godot-runtime Show documentation
Contains runtime classes and core types to make the jvm interact with cpp
package godot.core.memory
import godot.core.KtObject
import java.lang.ref.ReferenceQueue
import java.lang.ref.WeakReference
internal class ReferenceWeakReference(
ref: KtObject,
queue: ReferenceQueue,
val index: Int) :
WeakReference(ref, queue) {
val ptr = ref.rawPtr
var counter = 1
}