CCInt32(cleanup): remove function always present on 4.08

This commit is contained in:
Fardale 2023-07-26 17:29:04 +02:00
parent 755055c960
commit bd5518fc44
2 changed files with 0 additions and 4 deletions

View file

@ -110,7 +110,6 @@ let random_range i j st = add i (random (sub j i) st)
let of_string_exn = of_string let of_string_exn = of_string
let of_string x = try Some (of_string_exn x) with Failure _ -> None let of_string x = try Some (of_string_exn x) with Failure _ -> None
let of_string_opt = of_string
let most_significant_bit = logxor (neg 1l) (shift_right_logical (neg 1l) 1) let most_significant_bit = logxor (neg 1l) (shift_right_logical (neg 1l) 1)
type output = char -> unit type output = char -> unit

View file

@ -81,9 +81,6 @@ val of_string : string -> t option
(** [of_string s] is the safe version of {!of_string_exn}. (** [of_string s] is the safe version of {!of_string_exn}.
Like {!of_string_exn}, but return [None] instead of raising. *) Like {!of_string_exn}, but return [None] instead of raising. *)
val of_string_opt : string -> t option
(** [of_string_opt s] is an alias to {!of_string}. *)
val of_string_exn : string -> t val of_string_exn : string -> t
(** [of_string_exn s] converts the given string [s] into a 32-bit integer. (** [of_string_exn s] converts the given string [s] into a 32-bit integer.
Alias to {!Int32.of_string}. Alias to {!Int32.of_string}.