You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ocaml/godotcaml/apis/api_builtins.ml
+23-23Lines changed: 23 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -1713,13 +1713,13 @@ module ApiTypes = struct
1713
1713
end
1714
1714
1715
1715
module GlobalEnum0 = struct
1716
-
let to_ocaml (x : int) = x
1717
-
let of_ocaml (x : int) = x
1716
+
let to_ocaml (x : int64) = x
1717
+
let of_ocaml (x : int64) = x
1718
1718
1719
1719
module Side = struct
1720
1720
let is_bitfield = false
1721
1721
1722
-
type t = int
1722
+
type t = int64
1723
1723
1724
1724
(** Left side, usually used for [Control] or [StyleBox]-derived classes. *)
1725
1725
let _SIDE_LEFT = 0
@@ -1737,7 +1737,7 @@ module GlobalEnum0 = struct
1737
1737
module Corner = struct
1738
1738
let is_bitfield = false
1739
1739
1740
-
type t = int
1740
+
type t = int64
1741
1741
1742
1742
(** Top-left corner. *)
1743
1743
let _CORNER_TOP_LEFT = 0
@@ -1755,7 +1755,7 @@ module GlobalEnum0 = struct
1755
1755
module Orientation = struct
1756
1756
let is_bitfield = false
1757
1757
1758
-
type t = int
1758
+
type t = int64
1759
1759
1760
1760
(** General vertical alignment, usually used for [Separator], [ScrollBar], [Slider], etc. *)
1761
1761
let _VERTICAL = 1
@@ -1767,7 +1767,7 @@ module GlobalEnum0 = struct
1767
1767
module ClockDirection = struct
1768
1768
let is_bitfield = false
1769
1769
1770
-
type t = int
1770
+
type t = int64
1771
1771
1772
1772
(** Clockwise rotation. Used by some methods (e.g. [method Image.rotate_90]). *)
1773
1773
let _CLOCKWISE = 0
@@ -1779,7 +1779,7 @@ module GlobalEnum0 = struct
1779
1779
module HorizontalAlignment = struct
1780
1780
let is_bitfield = false
1781
1781
1782
-
type t = int
1782
+
type t = int64
1783
1783
1784
1784
(** Horizontal left alignment, usually for text-derived classes. *)
1785
1785
let _HORIZONTAL_ALIGNMENT_LEFT = 0
@@ -1797,7 +1797,7 @@ module GlobalEnum0 = struct
1797
1797
module VerticalAlignment = struct
1798
1798
let is_bitfield = false
1799
1799
1800
-
type t = int
1800
+
type t = int64
1801
1801
1802
1802
(** Vertical top alignment, usually for text-derived classes. *)
1803
1803
let _VERTICAL_ALIGNMENT_TOP = 0
@@ -1815,7 +1815,7 @@ module GlobalEnum0 = struct
1815
1815
module InlineAlignment = struct
1816
1816
let is_bitfield = false
1817
1817
1818
-
type t = int
1818
+
type t = int64
1819
1819
1820
1820
(** Aligns the top of the inline object (e.g. image, table) to the position of the text specified by [code]INLINE_ALIGNMENT_TO_ * [/code] constant. *)
1821
1821
let _INLINE_ALIGNMENT_TOP_TO = 0
@@ -1860,7 +1860,7 @@ module GlobalEnum0 = struct
1860
1860
module EulerOrder = struct
1861
1861
let is_bitfield = false
1862
1862
1863
-
type t = int
1863
+
type t = int64
1864
1864
1865
1865
(** Specifies that Euler angles should be in XYZ order. When composing, the order is X, Y, Z. When decomposing, the order is reversed, first Z, then Y, and X last. *)
1866
1866
let _EULER_ORDER_XYZ = 0
@@ -1884,7 +1884,7 @@ module GlobalEnum0 = struct
1884
1884
module Key = struct
1885
1885
let is_bitfield = false
1886
1886
1887
-
type t = int
1887
+
type t = int64
1888
1888
1889
1889
(** Enum value which doesn't correspond to any key. This is used to initialize [enum Key] properties with a generic state. *)
1890
1890
let _KEY_NONE = 0
@@ -2469,7 +2469,7 @@ module GlobalEnum0 = struct
2469
2469
module KeyModifierMask = struct
2470
2470
let is_bitfield = true
2471
2471
2472
-
type t = int
2472
+
type t = int64
2473
2473
2474
2474
(** Key Code mask. *)
2475
2475
let _KEY_CODE_MASK = 8388607
@@ -2502,7 +2502,7 @@ module GlobalEnum0 = struct
2502
2502
module MouseButton = struct
2503
2503
let is_bitfield = false
2504
2504
2505
-
type t = int
2505
+
type t = int64
2506
2506
2507
2507
(** Enum value which doesn't correspond to any mouse button. This is used to initialize [enum MouseButton] properties with a generic state. *)
2508
2508
let _MOUSE_BUTTON_NONE = 0
@@ -2538,7 +2538,7 @@ module GlobalEnum0 = struct
2538
2538
module MouseButtonMask = struct
2539
2539
let is_bitfield = true
2540
2540
2541
-
type t = int
2541
+
type t = int64
2542
2542
2543
2543
(** Primary mouse button mask, usually for the left button. *)
2544
2544
let _MOUSE_BUTTON_MASK_LEFT = 1
@@ -2559,7 +2559,7 @@ module GlobalEnum0 = struct
2559
2559
module JoyButton = struct
2560
2560
let is_bitfield = false
2561
2561
2562
-
type t = int
2562
+
type t = int64
2563
2563
2564
2564
(** An invalid game controller button. *)
2565
2565
let _JOY_BUTTON_INVALID = -1
@@ -2640,7 +2640,7 @@ module GlobalEnum0 = struct
2640
2640
module JoyAxis = struct
2641
2641
let is_bitfield = false
2642
2642
2643
-
type t = int
2643
+
type t = int64
2644
2644
2645
2645
(** An invalid game controller axis. *)
2646
2646
let _JOY_AXIS_INVALID = -1
@@ -2673,7 +2673,7 @@ module GlobalEnum0 = struct
2673
2673
module MIDIMessage = struct
2674
2674
let is_bitfield = false
2675
2675
2676
-
type t = int
2676
+
type t = int64
2677
2677
2678
2678
(** Does not correspond to any MIDI message. This is the default value of [member InputEventMIDI.message]. *)
2679
2679
let _MIDI_MESSAGE_NONE = 0
@@ -2741,7 +2741,7 @@ module GlobalEnum0 = struct
2741
2741
module Error = struct
2742
2742
let is_bitfield = false
2743
2743
2744
-
type t = int
2744
+
type t = int64
2745
2745
2746
2746
(** Methods that return [enum Error] return [constant OK] when no error occurred.
2747
2747
Since [constant OK] has value 0, and all other error constants are positive integers, it can also be used in boolean checks.
0 commit comments