aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/api/lzma/lzma.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2010-11-15 14:28:26 +0200
committerLasse Collin <lasse.collin@tukaani.org>2010-11-15 14:28:26 +0200
commit3e564704bc6f463cb2db11e3f3f0dbd71d85992e (patch)
tree2b3bab9e812b09293f94104e9e58797cc5abac3d /src/liblzma/api/lzma/lzma.h
parentSimplify paths in generated API docs (diff)
downloadxz-3e564704bc6f463cb2db11e3f3f0dbd71d85992e.tar.xz
liblzma: Document the return value of lzma_lzma_preset().
Diffstat (limited to '')
-rw-r--r--src/liblzma/api/lzma/lzma.h3
1 files changed, 3 insertions, 0 deletions
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;