From: Lasse Collin Date: Mon, 15 Nov 2010 12:28:26 +0000 (+0200) Subject: liblzma: Document the return value of lzma_lzma_preset(). X-Git-Tag: upstream/5.1.3~205^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e564704bc6f463cb2db11e3f3f0dbd71d85992e;p=platform%2Fupstream%2Fxz.git liblzma: Document the return value of lzma_lzma_preset(). --- diff --git a/src/liblzma/api/lzma/lzma.h b/src/liblzma/api/lzma/lzma.h index 8d5fdb6..3f8e095 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;