fixes output stream casting problem

This commit is contained in:
andri lim 2019-09-03 14:50:13 +07:00 • committed by zah
commit e7a34b74f2
2 changed files with 15 additions and 2 deletions

View file

@ -6,7 +6,9 @@ type
buffer: string
startOffset: int
OutputStream* = object
# somehow casting outputDevice to
# OutputStreamVar requires RootObj
OutputStream* = object of RootObj
cursor*: WriteCursor
pages: Deque[OutputPage]
endPos: int