diff options
Diffstat (limited to 'src/liblzma/common/outqueue.h')
-rw-r--r-- | src/liblzma/common/outqueue.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/liblzma/common/outqueue.h b/src/liblzma/common/outqueue.h index 154f91bc..079634de 100644 --- a/src/liblzma/common/outqueue.h +++ b/src/liblzma/common/outqueue.h @@ -87,12 +87,13 @@ extern uint64_t lzma_outq_memusage(uint64_t buf_size_max, uint32_t threads); /// \return - LZMA_OK /// - LZMA_MEM_ERROR /// -extern lzma_ret lzma_outq_init(lzma_outq *outq, lzma_allocator *allocator, +extern lzma_ret lzma_outq_init( + lzma_outq *outq, const lzma_allocator *allocator, uint64_t buf_size_max, uint32_t threads); /// \brief Free the memory associated with the output queue -extern void lzma_outq_end(lzma_outq *outq, lzma_allocator *allocator); +extern void lzma_outq_end(lzma_outq *outq, const lzma_allocator *allocator); /// \brief Get a new buffer |