summaryrefslogtreecommitdiff
path: root/stdlib/hashtbl.ml
diff options
context:
space:
mode:
authorJérémie Dimino <jeremie@dimino.org>2015-10-06 10:58:22 +0000
committerJérémie Dimino <jeremie@dimino.org>2015-10-06 10:58:22 +0000
commit62b89a3a5c641dd6341882f61a730104ae875b87 (patch)
tree95080573129aa934791adc2f8dec824f7dbf4548 /stdlib/hashtbl.ml
parent695a592d48522a8789bc698daa12eb16c7e36e6f (diff)
downloadocaml-62b89a3a5c641dd6341882f61a730104ae875b87.tar.gz
Replace uses of "noalloc" by [@@noalloc]
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16455 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/hashtbl.ml')
-rw-r--r--stdlib/hashtbl.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/hashtbl.ml b/stdlib/hashtbl.ml
index dcca372a5b..708e49463b 100644
--- a/stdlib/hashtbl.ml
+++ b/stdlib/hashtbl.ml
@@ -14,9 +14,9 @@
(* Hash tables *)
external seeded_hash_param :
- int -> int -> int -> 'a -> int = "caml_hash" "noalloc"
+ int -> int -> int -> 'a -> int = "caml_hash" [@@noalloc]
external old_hash_param :
- int -> int -> 'a -> int = "caml_hash_univ_param" "noalloc"
+ int -> int -> 'a -> int = "caml_hash_univ_param" [@@noalloc]
let hash x = seeded_hash_param 10 100 0 x
let hash_param n1 n2 x = seeded_hash_param n1 n2 0 x