System.hx

System.hx for use with Tamarin target.

package avmplus;

extern class System
{                                                                   
        static function exit(status:Int):Void;
        static function exec(command:String):Int;
        static function getAvmplusVersion():String;
        static function getFeatures():String;
        static function getRunmode():String;
        static function write(s:String):Void;
        static function debugger():Void;
        static function isDebugger():Bool;
        static function getTimer():UInt;
        static function getArgv():Array<String>;
        static var argv:Array<String>;
        static function readLine():String;
        static var totalMemory:Float;
        static var freeMemory:Float;
        static var privateMemory:Float;

        public static function __init__() : Void untyped
        {
                System.argv = System.getArgv();
        }
}
version #10993, modified 2011-09-15 13:28:33 by JLM