aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/api/lzma/delta.h
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-02-10 21:38:02 +0800
committerJia Tan <jiat0218@gmail.com>2023-02-15 22:45:57 +0800
commit7124b8a16ae60cb2e93218ff531868eebd673bde (patch)
tree73c852277600e65e83ad47a77fcdb1b293b5caf2 /src/liblzma/api/lzma/delta.h
parentliblzma: Improve documentation in index_hash.h. (diff)
downloadxz-7124b8a16ae60cb2e93218ff531868eebd673bde.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 'src/liblzma/api/lzma/delta.h')
-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
/*