mirror of
https://git.tukaani.org/xz.git
synced 2025-03-31 21:00:55 +00:00
There is a tiny risk of causing breakage: If an application assigns lzma_stream.allocator to a non-const pointer, such code won't compile anymore. I don't know why anyone would do such a thing though, so in practice this shouldn't cause trouble. Thanks to Jan Kratochvil for the patch.
24 lines
584 B
C
24 lines
584 B
C
///////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
/// \file index_encoder.h
|
|
/// \brief Encodes the Index field
|
|
//
|
|
// Author: Lasse Collin
|
|
//
|
|
// This file has been put into the public domain.
|
|
// You can do whatever you want with this file.
|
|
//
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef LZMA_INDEX_ENCODER_H
|
|
#define LZMA_INDEX_ENCODER_H
|
|
|
|
#include "common.h"
|
|
|
|
|
|
extern lzma_ret lzma_index_encoder_init(lzma_next_coder *next,
|
|
const lzma_allocator *allocator, const lzma_index *i);
|
|
|
|
|
|
#endif
|