W3cubDocs

/Haxe C++

NativeArray

package cpp

Available on cpp

Static methods

staticinlineaddress<T>(inArray:Array<T>, inIndex:Int):Pointer<T>

staticinlineblit<T>(ioDestArray:Array<T>, inDestElement:Int, inSourceArray:Array<T>, inSourceElement:Int, inElementCount:Int):Void

staticcapacity<T>(inArray:Array<T>):Int

staticcreate<T>(length:Int):Array<T>

staticinlinegetBase(inArray:Array<Dynamic>):ArrayBase

staticgetElementSize<T>(inArray:Array<T>):Int

staticmemcmp<T>(inArrayA:Array<T>, inArrayB:Array<T>):Int

staticreserve<T>(inArray:Array<T>, inElements:Int):Void

staticresolveVirtualArray(inArray:Array<Dynamic>):Dynamic

staticsetData<T>(inArray:Array<T>, inData:Pointer<T>, inElementCount:Int):Void

staticsetSize<T>(ioArray:Array<T>, inSize:Int):Array<T>

staticsetUnmanagedData<T>(inArray:Array<T>, inData:ConstPointer<T>, inElementCount:Int):Void

staticunsafeGet<T>(inDestArray:Array<T>, inIndex:Int):T

staticinlineunsafeSet<T>(ioDestArray:Array<T>, inIndex:Int, inValue:T):T

staticzero<T>(ioDestArray:Array<T>, ?inFirst:Int, ?inElements:Int):Void

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