replace ref with mutable
This commit is contained in:
parent
e463d43047
commit
9ae2e4e91e
2 changed files with 11 additions and 16 deletions
|
@ -1,4 +1,4 @@
|
|||
type serialiser = { buf : string ref; sz : int; pos : int ref; }
|
||||
type serialiser = { mutable buf : string; sz : int; mutable pos : int; }
|
||||
val flush : serialiser -> unit
|
||||
val serialise : serialiser -> Types.chunk -> unit
|
||||
val create : serialiser
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue