UVProcessSpawnFlags.hx 413 B

123456789101112131415161718
  1. package asys.uv;
  2. enum abstract UVProcessSpawnFlags(Int) {
  3. var None = 0;
  4. var SetUid = 1 << 0;
  5. var SetGid = 1 << 1;
  6. var WindowsVerbatimArguments = 1 << 2;
  7. var Detached = 1 << 3;
  8. var WindowsHide = 1 << 4;
  9. function new(raw:Int)
  10. this = raw;
  11. inline function get_raw():Int return this;
  12. @:op(A | B)
  13. inline function join(other:UVProcessSpawnFlags) return new UVProcessSpawnFlags(this | other.get_raw());
  14. }