summaryrefslogtreecommitdiff
path: root/stdlib/bytesLabels.mli
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/bytesLabels.mli
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/bytesLabels.mli')
-rw-r--r--stdlib/bytesLabels.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/bytesLabels.mli b/stdlib/bytesLabels.mli
index 04043182f4..674b7ce57e 100644
--- a/stdlib/bytesLabels.mli
+++ b/stdlib/bytesLabels.mli
@@ -208,8 +208,8 @@ external unsafe_get : bytes -> int -> char = "%string_unsafe_get"
external unsafe_set : bytes -> int -> char -> unit = "%string_unsafe_set"
external unsafe_blit :
src:bytes -> src_pos:int -> dst:bytes -> dst_pos:int -> len:int ->
- unit = "caml_blit_string" "noalloc"
+ unit = "caml_blit_string" [@@noalloc]
external unsafe_fill :
- bytes -> pos:int -> len:int -> char -> unit = "caml_fill_string" "noalloc"
+ bytes -> pos:int -> len:int -> char -> unit = "caml_fill_string" [@@noalloc]
val unsafe_to_string : bytes -> string
val unsafe_of_string : string -> bytes