2
external repr : 'a -> t = "%identity"
3
external obj : t -> 'a = "%identity"
4
external magic : 'a -> 'b = "%identity"
5
external is_block : t -> bool = "caml_obj_is_block"
6
external is_int : t -> bool = "%obj_is_int"
7
external tag : t -> int = "caml_obj_tag"
8
external set_tag : t -> int -> unit = "caml_obj_set_tag"
9
external size : t -> int = "%obj_size"
10
external truncate : t -> int -> unit = "caml_obj_truncate"
11
external field : t -> int -> t = "%obj_field"
12
external set_field : t -> int -> t -> unit = "%obj_set_field"
13
external new_block : int -> int -> t = "caml_obj_block"
14
external dup : t -> t = "caml_obj_dup"
21
val abstract_tag : int
24
val double_array_tag : int
28
val out_of_heap_tag : int
29
val marshal : t -> string
30
val unmarshal : string -> int -> (t * int)