View source
abstract Pointer<T>
package cs
from Int64, PointerAccess<T> 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 variables
staticread onlyacc:PointerAccess<T>
Returns a cs.PointerAccess
type, which in turn allows the underlying Pointer's
fields to be accessed.