Merge pull request #31 from vbmithr/bigstring

Added CCBigstring.length for more consistency with the CCString module.
This commit is contained in:
Simon Cruanes 2015-01-01 17:50:01 +01:00
commit e1d25d6da7
2 changed files with 5 additions and 0 deletions

View file

@ -48,6 +48,7 @@ let get = B.get
let set = B.set
let size = B.dim
let length = B.dim
let sub = B.sub

View file

@ -45,6 +45,10 @@ val fill : t -> char -> unit
val size : t -> int
(** Number of bytes *)
val length : t -> int
(** Alias for [size].
@since NEXT_RELEASE *)
val get : t -> int -> char
val set : t -> int -> char -> unit