aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/api
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-02-10 21:38:02 +0800
committerJia Tan <jiat0218@gmail.com>2023-02-10 21:38:25 +0800
commit90d0e628ff11e5030bcc4fc000bca056adda6603 (patch)
tree7a96a414e1d303b0f4ce37ace8176a10c508d0ed /src/liblzma/api
parentliblzma: Improve documentation in index_hash.h. (diff)
downloadxz-90d0e628ff11e5030bcc4fc000bca056adda6603.tar.xz
liblzma: Add comments for macros in delta.h.
Document LZMA_DELTA_DIST_MIN and LZMA_DELTA_DIST_MAX for completeness and to avoid Doxygen warnings.
Diffstat (limited to '')
-rw-r--r--src/liblzma/api/lzma/delta.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/liblzma/api/lzma/delta.h b/src/liblzma/api/lzma/delta.h
index 775647e1..8b8ae5c6 100644
--- a/src/liblzma/api/lzma/delta.h
+++ b/src/liblzma/api/lzma/delta.h
@@ -58,7 +58,15 @@ typedef struct {
* - 24-bit RGB image data: distance = 3 bytes
*/
uint32_t dist;
+
+ /**
+ * \brief Minimum value for the dist field in lzma_options_delta.
+ */
# define LZMA_DELTA_DIST_MIN 1
+
+ /**
+ * \brief Maximum value for the dist field in lzma_options_delta.
+ */
# define LZMA_DELTA_DIST_MAX 256
/*