Deprecate Obj.truncate and bootstrap.
parent
18edce3b5f
commit
466d3bcc84
4
Changes
4
Changes
|
@ -100,8 +100,8 @@ Working version
|
|||
|
||||
### Runtime system:
|
||||
|
||||
- #1725: Deprecate Obj.set_tag
|
||||
(Stephen Dolan, review by Gabriel Scherer and Damien Doligez)
|
||||
- #1725, #2279: Deprecate Obj.set_tag and Obj.truncate
|
||||
(Stephen Dolan, review by Gabriel Scherer, Damien Doligez and Xavier Leroy)
|
||||
|
||||
* #2240: Constify "identifier" in struct custom_operations
|
||||
(Cedric Cellier, review by Xavier Leroy)
|
||||
|
|
BIN
boot/ocamlc
BIN
boot/ocamlc
Binary file not shown.
BIN
boot/ocamllex
BIN
boot/ocamllex
Binary file not shown.
|
@ -63,6 +63,7 @@ val [@inline always] set_double_field : t -> int -> float -> unit
|
|||
external new_block : int -> int -> t = "caml_obj_block"
|
||||
external dup : t -> t = "caml_obj_dup"
|
||||
external truncate : t -> int -> unit = "caml_obj_truncate"
|
||||
[@@ocaml.deprecated]
|
||||
external add_offset : t -> Int32.t -> t = "caml_obj_add_offset"
|
||||
(* @since 3.12.0 *)
|
||||
external with_tag : int -> t -> t = "caml_obj_with_tag"
|
||||
|
|
Loading…
Reference in New Issue