View source
abstract Pointer<T>
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);
...
});
Static methods
Variables
read onlyacc:PointerAccess<T>
Returns a cs.PointerAccess
type, which in turn allows the underlying Pointer's
fields to be accessed.