Sys.hx 829 B

1234567891011121314151617181920212223242526272829303132333435
  1. package python.lib;
  2. import python.lib.Exceptions.BaseException;
  3. import python.lib.io.FileIO;
  4. import python.lib.io.RawIOBase;
  5. import python.lib.io.TextIOBase;
  6. import python.lib.Tuple.Tup3;
  7. extern class TB {}
  8. extern class Frame {}
  9. @:pythonImport("sys")
  10. extern class Sys {
  11. public static var argv(default, never):Array<String>;
  12. public static function exit (x:Int):Void;
  13. public static function getfilesystemencoding():String;
  14. public static var version:String;
  15. public static var platform:String;
  16. public static var stdout(default, never):TextIOBase;
  17. public static var stdin(default, never):TextIOBase;
  18. public static var stderr(default, never):TextIOBase;
  19. public static function getsizeof (t:Dynamic):Int;
  20. public static var maxsize:Int;
  21. public static function exc_info<T:BaseException>():Tup3<Class<T>, T, TB>;
  22. }