diff options
author | Paul Gilbert | 2019-04-28 17:42:22 +1000 |
---|---|---|
committer | Paul Gilbert | 2019-04-28 17:42:22 +1000 |
commit | 3040135f06756de04d2b4ca2a581062baa19816b (patch) | |
tree | 92ffb2751d0b1aa7ea99e0ccf4d4d89a81328115 /engines/glk/streams.h | |
parent | efcd8ab27047c82da67f98c4246427c8f2c19d4c (diff) | |
download | scummvm-rg350-3040135f06756de04d2b4ca2a581062baa19816b.tar.gz scummvm-rg350-3040135f06756de04d2b4ca2a581062baa19816b.tar.bz2 scummvm-rg350-3040135f06756de04d2b4ca2a581062baa19816b.zip |
GLK: Record gli arrays for memory streams
Diffstat (limited to 'engines/glk/streams.h')
-rw-r--r-- | engines/glk/streams.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/glk/streams.h b/engines/glk/streams.h index a34ba6f0a4..f899936ef3 100644 --- a/engines/glk/streams.h +++ b/engines/glk/streams.h @@ -381,6 +381,7 @@ private: void *_bufEnd; void *_bufEof; size_t _bufLen; ///< # of bytes for latin1, # of 4-byte words for unicode + gidispatch_rock_t _arrayRock; public: /** * Constructor @@ -388,6 +389,11 @@ public: MemoryStream(Streams *streams, void *buf, size_t buflen, FileMode mode, uint rock = 0, bool unicode = true); /** + * Destructor + */ + virtual ~MemoryStream(); + + /** * Write a character */ virtual void putChar(unsigned char ch) override; |