Skip to content

Commit

Permalink
CR: fix wrong method types
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierNicole committed Sep 13, 2024
1 parent d4dbc7a commit 6805fe6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions lib/js_of_ocaml/typed_array.ml
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ class type dataView = object

method getUint16_ : int -> bool t -> int meth

method getInt32 : int -> int32 meth
method getInt32 : int -> number_t meth

method getInt32_ : int -> bool t -> int32 meth
method getInt32_ : int -> bool t -> number_t meth

method getUint32 : int -> number_t meth

Expand All @@ -232,9 +232,9 @@ class type dataView = object

method setUint16_ : int -> int -> bool t -> unit meth

method setInt32 : int -> int32 -> unit meth
method setInt32 : int -> number_t -> unit meth

method setInt32_ : int -> int32 -> bool t -> unit meth
method setInt32_ : int -> number_t -> bool t -> unit meth

method setUint32 : int -> number_t -> unit meth

Expand Down
8 changes: 4 additions & 4 deletions lib/js_of_ocaml/typed_array.mli
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@ class type dataView = object

method getUint16_ : int -> bool t -> int meth

method getInt32 : int -> int32 meth
method getInt32 : int -> number_t meth

method getInt32_ : int -> bool t -> int32 meth
method getInt32_ : int -> bool t -> number_t meth

method getUint32 : int -> number_t meth

Expand All @@ -230,9 +230,9 @@ class type dataView = object

method setUint16_ : int -> int -> bool t -> unit meth

method setInt32 : int -> int32 -> unit meth
method setInt32 : int -> number_t -> unit meth

method setInt32_ : int -> int32 -> bool t -> unit meth
method setInt32_ : int -> number_t -> bool t -> unit meth

method setUint32 : int -> number_t -> unit meth

Expand Down

0 comments on commit 6805fe6

Please sign in to comment.