diff options
author | Norbert Preining <norbert@preining.info> | 2019-10-29 03:00:39 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-10-29 03:00:39 +0000 |
commit | 97f5151099967e6c823d640a90d87bca92c44035 (patch) | |
tree | 685caa49488599f87d0caa4e972833b2263d8567 /dviware/dvisvgm/src/StreamWriter.hpp | |
parent | 25a647b97ef526aefcc75269dd19c46dbe3ae4c1 (diff) |
CTAN sync 201910290300
Diffstat (limited to 'dviware/dvisvgm/src/StreamWriter.hpp')
-rw-r--r-- | dviware/dvisvgm/src/StreamWriter.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dviware/dvisvgm/src/StreamWriter.hpp b/dviware/dvisvgm/src/StreamWriter.hpp index 49b3401589..441a9a7e7f 100644 --- a/dviware/dvisvgm/src/StreamWriter.hpp +++ b/dviware/dvisvgm/src/StreamWriter.hpp @@ -24,7 +24,7 @@ #include <ostream> #include <vector> -class CRC32; +class HashFunction; class StreamWriter { public: @@ -35,9 +35,9 @@ class StreamWriter { void writeBytes (const uint8_t *buf, size_t bufsize); void writeBytes (int byte, size_t count); void writeString (const std::string &str, bool finalZero=false); - void writeUnsigned (uint32_t val, int n, CRC32 &crc32); - void writeSigned (int32_t val, int n, CRC32 &crc32); - void writeString (const std::string &str, CRC32 &crc32, bool finalZero=false); + void writeUnsigned (uint32_t val, int n, HashFunction &hashfunc); + void writeSigned (int32_t val, int n, HashFunction &hashfunc); + void writeString (const std::string &str, HashFunction &hashfunc, bool finalZero=false); private: std::ostream &_os; |