Console.hx 774 B

1234567891011121314151617181920212223
  1. package system;
  2. /**
  3. Warning: This class definition is incomplete.
  4. In order to get most current extern definitions, install/update hxcs library with:
  5. haxelib install hxcs
  6. Please refer to http://lib.haxe.org/p/hxcs for more information.
  7. **/
  8. @:native('System.Console') extern class Console
  9. {
  10. static var Error(default, null):system.io.StreamWriter;
  11. static var In(default, null):system.io.StreamReader;
  12. static var Out(default, null):system.io.StreamWriter;
  13. static function Write(obj:Dynamic):Void;
  14. static function WriteLine(obj:Dynamic):Void;
  15. #if !(Xbox || CF || MF)
  16. static function OpenStandardOutput():system.io.Stream;
  17. static function OpenStandardInput():system.io.Stream;
  18. static function OpenStandardError():system.io.Stream;
  19. #end
  20. }