W3cubDocs

/Haxe C++

NativeArray

package cpp

Available on cpp

Static methods

static inline address<T> (inArray:Array<T>, inIndex:Int):Pointer<T>

static inline blit<T> (ioDestArray:Array<T>, inDestElement:Int, inSourceArray:Array<T>, inSourceElement:Int, inElementCount:Int):Void

static capacity<T> (inArray:Array<T>):Int

static create<T> (length:Int):Array<T>

static inline getBase (inArray:Array<Dynamic>):ArrayBase

static getElementSize<T> (inArray:Array<T>):Int

static memcmp<T> (inArrayA:Array<T>, inArrayB:Array<T>):Int

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

static resolveVirtualArray (inArray:Array<Dynamic>):Dynamic

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

static setSize<T> (ioArray:Array<T>, inSize:Int):Array<T>

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

static unsafeGet<T> (inDestArray:Array<T>, inIndex:Int):T

static inline unsafeSet<T> (ioDestArray:Array<T>, inIndex:Int, inValue:T ):T

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

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