mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
liblzma: Adds lzma_nothrow to MicroLZMA API functions.
None of the liblzma functions may throw an exception, so this attribute should be applied to all liblzma API functions.
This commit is contained in:
parent
8f23657498
commit
3374a5359e
1 changed files with 3 additions and 2 deletions
|
@ -615,7 +615,8 @@ extern LZMA_API(lzma_ret) lzma_stream_buffer_encode(
|
||||||
* output space (6 bytes) to create a valid MicroLZMA stream.
|
* output space (6 bytes) to create a valid MicroLZMA stream.
|
||||||
*/
|
*/
|
||||||
extern LZMA_API(lzma_ret) lzma_microlzma_encoder(
|
extern LZMA_API(lzma_ret) lzma_microlzma_encoder(
|
||||||
lzma_stream *strm, const lzma_options_lzma *options);
|
lzma_stream *strm, const lzma_options_lzma *options)
|
||||||
|
lzma_nothrow;
|
||||||
|
|
||||||
|
|
||||||
/************
|
/************
|
||||||
|
@ -992,4 +993,4 @@ extern LZMA_API(lzma_ret) lzma_stream_buffer_decode(
|
||||||
extern LZMA_API(lzma_ret) lzma_microlzma_decoder(
|
extern LZMA_API(lzma_ret) lzma_microlzma_decoder(
|
||||||
lzma_stream *strm, uint64_t comp_size,
|
lzma_stream *strm, uint64_t comp_size,
|
||||||
uint64_t uncomp_size, lzma_bool uncomp_size_is_exact,
|
uint64_t uncomp_size, lzma_bool uncomp_size_is_exact,
|
||||||
uint32_t dict_size);
|
uint32_t dict_size) lzma_nothrow;
|
||||||
|
|
Loading…
Reference in a new issue