Skip to content

Commit

Permalink
Merge pull request #113 from inhabitedtype/bigstring-intrinsics
Browse files Browse the repository at this point in the history
bigstring-intrinsics: use them
  • Loading branch information
seliopou committed Dec 17, 2017
2 parents 9ff3276 + 05b5ec5 commit 66aba2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/bigstring.ml
Expand Up @@ -9,8 +9,8 @@ let empty = create 0
module BA1 = Bigarray.Array1

let length t = BA1.dim t
let unsafe_get = BA1.unsafe_get
let unsafe_set = BA1.unsafe_set
external unsafe_get : t -> int -> char = "%caml_ba_unsafe_ref_1"
external unsafe_set : t -> int -> char -> unit = "%caml_ba_unsafe_set_1"

external blit : t -> int -> t -> int -> int -> unit =
"angstrom_bigstring_blit_to_bigstring" [@@noalloc]
Expand Down

0 comments on commit 66aba2e

Please sign in to comment.