package cs
from PointerAccess<T>, Int64 to PointerAccess<T>
Available on cs
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);
...
});
staticaddIp<T>(lhs:Pointer<T>, rhs:Int):Pointer<T>staticaddp<T>(lhs:Pointer<T>, rhs:Int64):Pointer<T>staticandIp<T>(lhs:Pointer<T>, rhs:Int):Pointer<T>staticandp<T>(lhs:Pointer<T>, rhs:Int64):Pointer<T>staticbnegp<T>(t:Pointer<T>):Pointer<T>staticdivIp<T>(lhs:Pointer<T>, rhs:Int):Pointer<T>staticdivp<T>(lhs:Pointer<T>, rhs:Int64):Pointer<T>staticgetIp<T>(p:Pointer<T>, at:Int):Tstaticgetp<T>(p:Pointer<T>, at:Int64):Tstaticgtep<T>(lhs:Pointer<T>, rhs:Pointer<T>):Boolstaticgtp<T>(lhs:Pointer<T>, rhs:Pointer<T>):Boolstaticltep<T>(lhs:Pointer<T>, rhs:Pointer<T>):Boolstaticltp<T>(lhs:Pointer<T>, rhs:Pointer<T>):BoolstaticmodIp<T>(lhs:Pointer<T>, rhs:Int):Pointer<T>staticmodp<T>(lhs:Pointer<T>, rhs:Int64):Pointer<T>staticmulIp<T>(lhs:Pointer<T>, rhs:Int):Pointer<T>staticmulp<T>(lhs:Pointer<T>, rhs:Int64):Pointer<T>staticorIp<T>(lhs:Pointer<T>, rhs:Int):Pointer<T>staticorp<T>(lhs:Pointer<T>, rhs:Int64):Pointer<T>staticpostnn<T>(t:Pointer<T>):Pointer<T>staticpostpp<T>(t:Pointer<T>):Pointer<T>staticprenn<T>(t:Pointer<T>):Pointer<T>staticprepp<T>(t:Pointer<T>):Pointer<T>staticsetIp<T>(p:Pointer<T>, at:Int, val:T):Tstaticsetp<T>(p:Pointer<T>, at:Int64, val:T):TstaticshlIp<T>(lhs:Pointer<T>, rhs:Int):Pointer<T>staticshlp<T>(lhs:Pointer<T>, rhs:Int64):Pointer<T>staticshrIp<T>(lhs:Pointer<T>, rhs:Int):Pointer<T>staticshrp<T>(lhs:Pointer<T>, rhs:Int64):Pointer<T>staticsubIp<T>(lhs:Pointer<T>, rhs:Int):Pointer<T>staticsubp<T>(lhs:Pointer<T>, rhs:Int64):Pointer<T>staticxorIp<T>(lhs:Pointer<T>, rhs:Int):Pointer<T>staticxorp<T>(lhs:Pointer<T>, rhs:Int64):Pointer<T>read onlyacc:PointerAccess<T>Returns a cs.PointerAccess type, which in turn allows the underlying Pointer's fields to be accessed.
inlineadd(i:Int):Pointer<T>
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/Pointer.html