W3cubDocs

/Haxe C++

NativeGc

package cpp

Available on cpp

Static methods

static addFinalizable (instance:{finalize:Void ‑> Void}, inPin:Bool):Void

static inline allocGcBytes (inBytes:Int):Pointer<Void>

static allocGcBytesRaw (inBytes:Int, isContainer:Bool):RawPointer<Void>

static allocateExtended<T> (cls:Class<T>, size:Int):T

static compact ():Void

static doNotKill (inObject:Dynamic):Void

static enable (inEnable:Bool):Void

static enterGCFreeZone ():Void

static exitGCFreeZone ():Void

static getNextZombie ():Dynamic

static memInfo (inWhatInfo:Int):Float

static nativeTrace (sought:Class<Dynamic>, printInstances:Bool):Int

static run (major:Bool):Void

static safePoint ():Void

static setMinimumFreeSpace (inBytes:Int):Void

static setMinimumWorkingMemory (inBytes:Int):Void

static setTargetFreeSpacePercentage (inPercentage:Int):Void

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