aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2021-04-30 09:35:43 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2021-04-30 09:35:43 +0200
commit06f1eaa1538279a82b6a24ed7ee17c1dea1e1293 (patch)
tree2509c4ba9ed9470ee6618483e9c1c7b70b896199 /src/parser.cpp
parent58e023e0cf581db71b4bf3c341b781a2f09ff50a (diff)
Use regular allocator from png+gzip's `load_from_file`.
I would've used `os.stream_from_handle`, but: - Parts of it seem to be implemented for Windows only at the moment. - PNG's `peek_data` using that stream didn't manage to rewind and thus tried to parse the data after the header as the header. Two things must happen: - The `os.stream_from_handle` implementation needs to be fixed. - PNG and GZIP's parsers need to be able to handle streams that can't rewind or seek (backward). Those fixes are on my TODO list but are exceed the scope of this patch.
Diffstat (limited to 'src/parser.cpp')
0 files changed, 0 insertions, 0 deletions