File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ abstract ByteArray(ByteArrayPrivate) {
7171 }
7272
7373 public inline function getUint32 (byteOffset : Int ): Int {
74- return kinc_bytearray_getuint32 (this .self , this .byteArrayOffset + byteOffset );
74+ return kinc_bytearray_getuint32 (this .self , this .byteArrayOffset + byteOffset ). toInt () ;
7575 }
7676
7777 public inline function getFloat32 (byteOffset : Int ): FastFloat {
Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ extern class Krom {
9393 static function setKeyboardDownCallback (callback : Int -> Void ): Void ;
9494 static function setKeyboardUpCallback (callback : Int -> Void ): Void ;
9595 static function setKeyboardPressCallback (callback : Int -> Void ): Void ;
96+ static function setMouseCursor (cursor : Int ): Void ;
9697 static function setMouseDownCallback (callback : Int -> Int -> Int -> Void ): Void ;
9798 static function setMouseUpCallback (callback : Int -> Int -> Int -> Void ): Void ;
9899 static function setMouseMoveCallback (callback : Int -> Int -> Int -> Int -> Void ): Void ;
You can’t perform that action at this time.
0 commit comments