Bit.hx 577 B

12345678910111213141516
  1. package lua;
  2. /**
  3. Externs for the "bit" class that is required for haxe lua
  4. **/
  5. @:native("_G.bit")
  6. extern class Bit {
  7. public static function bnot(x:Float) : Int;
  8. public static function band(a:Float, b:Float) : Int;
  9. public static function bor(a:Float, b:Float) : Int;
  10. public static function bxor(a:Float, b:Float) : Int;
  11. public static function lshift(x:Float, places:Int) : Int;
  12. public static function rshift(x:Float, places:Int) : Int;
  13. public static function arshift(x:Float, places:Int) : Int;
  14. public static function mod(numerator:Float, denominator:Float) : Int;
  15. }