From 3e564704bc6f463cb2db11e3f3f0dbd71d85992e Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Mon, 15 Nov 2010 14:28:26 +0200 Subject: [PATCH] liblzma: Document the return value of lzma_lzma_preset(). --- src/liblzma/api/lzma/lzma.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/liblzma/api/lzma/lzma.h b/src/liblzma/api/lzma/lzma.h index 8d5fdb6e..3f8e095f 100644 --- a/src/liblzma/api/lzma/lzma.h +++ b/src/liblzma/api/lzma/lzma.h @@ -412,6 +412,9 @@ typedef struct { * * This function is available only if LZMA1 or LZMA2 encoder has been enabled * when building liblzma. + * + * \return On success, false is returned. If the preset is not + * supported, true is returned. */ extern LZMA_API(lzma_bool) lzma_lzma_preset( lzma_options_lzma *options, uint32_t preset) lzma_nothrow; -- 2.40.0