diff options
Diffstat (limited to 'src/endianBytes.cppo.ml')
-rw-r--r-- | src/endianBytes.cppo.ml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/endianBytes.cppo.ml b/src/endianBytes.cppo.ml index 419f063..dd5900e 100644 --- a/src/endianBytes.cppo.ml +++ b/src/endianBytes.cppo.ml @@ -80,12 +80,16 @@ end let get_char (s:Bytes.t) off = Bytes.get s off + [@@ocaml.inline] let set_char (s:Bytes.t) off v = Bytes.set s off v + [@@ocaml.inline] let unsafe_get_char (s:Bytes.t) off = Bytes.unsafe_get s off + [@@ocaml.inline] let unsafe_set_char (s:Bytes.t) off v = Bytes.unsafe_set s off v + [@@ocaml.inline] #include "common.ml" |