Skip to content

Commit

Permalink
fixup! chore: properly deprecate methods
Browse files Browse the repository at this point in the history
  • Loading branch information
psafont committed Feb 23, 2022
1 parent 90c9c7d commit 954f3d5
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion ocaml/libs/uuid/uuid.mli
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,30 @@ val null : 'a t
(** A null UUID, as if such a thing actually existed. It turns out to be
useful though. *)

val make_uuid : unit -> 'a t
val make : unit -> 'a t
(** Create a fresh UUID *)

val make_prng : unit -> 'a t

val make_urnd : unit -> 'a t

val make_rnd : unit -> 'a t

val make_uuid : unit -> 'a t
[@@deprecated "Use make"]
(** Deprecated alias for {! Uuid.make} *)

val make_uuid_prng : unit -> 'a t
[@@deprecated "Use make_prng"]
(** Deprecated alias for {! Uuid.make_prng} *)

val make_uuid_urnd : unit -> 'a t
[@@deprecated "Use make_urnd"]
(** Deprecated alias for {! Uuid.make_urnd} *)

val make_uuid_rnd : unit -> 'a t
[@@deprecated "Use make_rnd"]
(** Deprecated alias for {! Uuid.make_rnd} *)

val pp : Format.formatter -> 'a t -> unit

Expand Down

0 comments on commit 954f3d5

Please sign in to comment.