mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-08 20:25:28 -05:00
fix: compatibility for CCArrayLabels
This commit is contained in:
parent
33d3ee114c
commit
7c56bd747e
2 changed files with 8 additions and 0 deletions
|
|
@ -1,6 +1,9 @@
|
|||
|
||||
(* This file is free software, part of containers. See file "license" for more details. *)
|
||||
|
||||
(* fallback function *)
|
||||
external make_float : int -> float array = "caml_make_float_vect"
|
||||
|
||||
include CCArray
|
||||
|
||||
(*$inject
|
||||
|
|
|
|||
|
|
@ -13,6 +13,10 @@ type 'a printer = Format.formatter -> 'a -> unit
|
|||
|
||||
(** {2 Arrays} *)
|
||||
|
||||
(**/**)
|
||||
external make_float : int -> float array = "caml_make_float_vect" (* compat *)
|
||||
(**/**)
|
||||
|
||||
include module type of struct include ArrayLabels end
|
||||
|
||||
type 'a t = 'a array
|
||||
|
|
@ -310,3 +314,4 @@ val sort_generic :
|
|||
(** Sort the array, without allocating (eats stack space though). Performance
|
||||
might be lower than {!Array.sort}.
|
||||
@since 0.14 *)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue