This type represents pointer types for C# function parameters. It should only be used inside an unsafe context (not checked by the Haxe compiler)

C# code:

int[] src;
fixed (int* pSrc = src)
{
	...
}

Haxe code:

var src:NativeArray<Int>;
cs.Lib.fixed({
	var pSrc:cs.Pointer<Int> = cs.Lib.pointerOfArray(src);
	...
});

Static methods

@:noExpr@:op(A + B)staticaddIp<T>(lhs:Pointer<T>, rhs:Int):Pointer<T>

@:noExpr@:op(A + B)staticaddp<T>(lhs:Pointer<T>, rhs:Int64):Pointer<T>

@:noExpr@:op(A & B)staticandIp<T>(lhs:Pointer<T>, rhs:Int):Pointer<T>

@:noExpr@:op(A & B)staticandp<T>(lhs:Pointer<T>, rhs:Int64):Pointer<T>

@:noExpr@:op(~A)staticbnegp<T>(t:Pointer<T>):Pointer<T>

@:noExpr@:op(A / B)staticdivIp<T>(lhs:Pointer<T>, rhs:Int):Pointer<T>

@:noExpr@:op(A / B)staticdivp<T>(lhs:Pointer<T>, rhs:Int64):Pointer<T>

@:noExpr@:arrayAccessstaticgetIp<T>(p:Pointer<T>, at:Int):T

@:noExpr@:arrayAccessstaticgetp<T>(p:Pointer<T>, at:Int64):T

@:noExpr@:op(A >= B)staticgtep<T>(lhs:Pointer<T>, rhs:Pointer<T>):Bool

@:noExpr@:op(A > B)staticgtp<T>(lhs:Pointer<T>, rhs:Pointer<T>):Bool

@:noExpr@:op(A <= B)staticltep<T>(lhs:Pointer<T>, rhs:Pointer<T>):Bool

@:noExpr@:op(A < B)staticltp<T>(lhs:Pointer<T>, rhs:Pointer<T>):Bool

@:noExpr@:op(A % B)staticmodIp<T>(lhs:Pointer<T>, rhs:Int):Pointer<T>

@:noExpr@:op(A % B)staticmodp<T>(lhs:Pointer<T>, rhs:Int64):Pointer<T>

@:noExpr@:op(A * B)staticmulIp<T>(lhs:Pointer<T>, rhs:Int):Pointer<T>

@:noExpr@:op(A * B)staticmulp<T>(lhs:Pointer<T>, rhs:Int64):Pointer<T>

@:noExpr@:op(A | B)staticorIp<T>(lhs:Pointer<T>, rhs:Int):Pointer<T>

@:noExpr@:op(A | B)staticorp<T>(lhs:Pointer<T>, rhs:Int64):Pointer<T>

@:noExpr@:op(--A)staticpostnn<T>(t:Pointer<T>):Pointer<T>

@:noExpr@:op(++A)staticpostpp<T>(t:Pointer<T>):Pointer<T>

@:noExpr@:op(A--)staticprenn<T>(t:Pointer<T>):Pointer<T>

@:noExpr@:op(A++)staticprepp<T>(t:Pointer<T>):Pointer<T>

@:noExpr@:arrayAccessstaticsetIp<T>(p:Pointer<T>, at:Int, val:T):T

@:noExpr@:arrayAccessstaticsetp<T>(p:Pointer<T>, at:Int64, val:T):T

@:noExpr@:op(A << B)staticshlIp<T>(lhs:Pointer<T>, rhs:Int):Pointer<T>

@:noExpr@:op(A << B)staticshlp<T>(lhs:Pointer<T>, rhs:Int64):Pointer<T>

@:noExpr@:op(A >> B)staticshrIp<T>(lhs:Pointer<T>, rhs:Int):Pointer<T>

@:noExpr@:op(A >> B)staticshrp<T>(lhs:Pointer<T>, rhs:Int64):Pointer<T>

@:noExpr@:op(A - B)staticsubIp<T>(lhs:Pointer<T>, rhs:Int):Pointer<T>

@:noExpr@:op(A - B)staticsubp<T>(lhs:Pointer<T>, rhs:Int64):Pointer<T>

@:noExpr@:op(A ^ B)staticxorIp<T>(lhs:Pointer<T>, rhs:Int):Pointer<T>

@:noExpr@:op(A ^ B)staticxorp<T>(lhs:Pointer<T>, rhs:Int64):Pointer<T>

Variables

@:implread onlyacc:PointerAccess<T>

Returns a cs.PointerAccess type, which in turn allows the underlying Pointer's fields to be accessed.

Methods

@:implinlineadd(i:Int):Pointer<T>