From 2ade7246e7ba729a91460d2fab0f4c7b89d3998b Mon Sep 17 00:00:00 2001 From: Jia Tan Date: Thu, 9 Nov 2023 01:21:53 +0800 Subject: liblzma: Add missing comments to lz_encoder.h. --- src/liblzma/lz/lz_encoder.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/liblzma/lz/lz_encoder.h') diff --git a/src/liblzma/lz/lz_encoder.h b/src/liblzma/lz/lz_encoder.h index 80cdcf63..8bd21322 100644 --- a/src/liblzma/lz/lz_encoder.h +++ b/src/liblzma/lz/lz_encoder.h @@ -161,9 +161,13 @@ typedef struct { /// Maximum search depth uint32_t depth; - /// TODO: Comment + /// Initial dictionary for the match finder to search. const uint8_t *preset_dict; + /// If the preset dictionary is NULL, this value is ignored. + /// Otherwise this member must indicate the preset dictionary's + /// buffer size. If this size is larger than dict_size, then only + /// the dict_size sized tail of the preset_dict will be used. uint32_t preset_dict_size; } lzma_lz_options; -- cgit v1.2.3