Skip to content

Commit

Permalink
liblzma: Add missing comments to lz_encoder.h.
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaT75 committed Nov 8, 2023
1 parent 5fe1450 commit 2ade724
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/liblzma/lz/lz_encoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2ade724

Please sign in to comment.