Pointer<T>

package cpp

extends ConstPointer

Available on cpp

Static methods

staticaddressOf<T>(inVariable:Reference<T>):Pointer<T>

staticinlinearrayElem<T>(array:Array<T>, inElem:Int):Pointer<T>

staticendOf<T>(inVariable:T):Pointer<Void>

staticinlinefromHandle<T>(inHandle:Dynamic, ?inKind:String):Pointer<T>

staticfromPointer<T>(inNativePointer:Dynamic):Pointer<T>

staticfromRaw<T>(ptr:RawPointer<T>):Pointer<T>

staticfromStar<T>(star:Star<T>):Pointer<T>

staticnativeArrayElem<T>(array:Array<T>, inElem:Int):AutoCast

staticnativeFromHandle<T>(inHandle:Dynamic, ?inKind:String):AutoCast

staticnativeOfArray<T>(array:Array<T>):AutoCast

staticinlineofArray<T>(array:Array<T>):Pointer<T>

Variables

ref:Reference<T>

Methods

destroy():Void

destroyArray():Void

get_ref():Reference<T>

postIncRef():Reference<T>

setAt(inIndex:Int, value:T):Void

set_ref(t:T):Reference<T>

inlinetoUnmanagedArray(elementCount:Int):Array<T>

inlinetoUnmanagedVector(elementCount:Int):Vector<T>

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cpp/Pointer.html