diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-25 19:20:28 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-25 19:20:28 +0200 |
commit | 7b8fc7e6b501a32a36636dac79ecb57099269005 (patch) | |
tree | a9d78c2381ca24aee9df680485037635b967c7d3 /src/liblzma/common/init_encoder.c | |
parent | Use more parenthesis in succeed() macro in tests/tests.h. (diff) | |
download | xz-7b8fc7e6b501a32a36636dac79ecb57099269005.tar.xz |
Improved the memory limitter:
- Added lzma_memlimit_max() and lzma_memlimit_reached()
API functions.
- Added simple estimation of malloc()'s memory usage
overhead.
- Fixed integer overflow detection in lzma_memlimit_alloc().
- Made some white space cleanups and added more comments.
The description of lzma_memlimit_max() in memlimit.h is bad
and should be improved.
Diffstat (limited to 'src/liblzma/common/init_encoder.c')
0 files changed, 0 insertions, 0 deletions