diff options
| author | Xavier Leroy <xavier.leroy@inria.fr> | 1995-06-18 14:45:56 +0000 |
|---|---|---|
| committer | Xavier Leroy <xavier.leroy@inria.fr> | 1995-06-18 14:45:56 +0000 |
| commit | 101bb8b8a786bdfdeb44cdc8390b1f8fc18883cd (patch) | |
| tree | 3d21bc4e7e5fab848710d7f005caa033205c0c6b /stdlib/obj.ml | |
| parent | e0f3c043e5dd7ad4dbec7feb15b9c7a23ebecb2d (diff) | |
| download | ocaml-101bb8b8a786bdfdeb44cdc8390b1f8fc18883cd.tar.gz | |
Changement representation des constructeurs constants.
list: ajout de nth
obj: %is_block devient une fonction C.
parsing: le tableau transl est coupe en transl_const et transl_block.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@41 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/obj.ml')
| -rw-r--r-- | stdlib/obj.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/obj.ml b/stdlib/obj.ml index c31e6c3ab0..7e2d966bb0 100644 --- a/stdlib/obj.ml +++ b/stdlib/obj.ml @@ -5,7 +5,7 @@ type t external repr : 'a -> t = "%identity" external magic : 'a -> 'b = "%identity" external is_block : t -> bool = "obj_is_block" -external tag : t -> int = "%tagof" +external tag : t -> int = "obj_tag" external size : t -> int = "%array_length" external field : t -> int -> t = "%array_unsafe_get" external set_field : t -> int -> t -> unit = "%array_unsafe_set" |
