Refactor ZSTD_sequenceProducer_F typedef to ZSTD_sequenceProducer_F*

This commit is contained in:
Elliot Gorokhovsky
2023-11-27 06:56:37 -08:00
parent 05059e5a48
commit 809c7eb6bf
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -7086,7 +7086,7 @@ ZSTD_parameters ZSTD_getParams(int compressionLevel, unsigned long long srcSizeH
void ZSTD_registerSequenceProducer(
ZSTD_CCtx* zc, void* mState,
ZSTD_sequenceProducer_F* mFinder
ZSTD_sequenceProducer_F mFinder
) {
if (mFinder != NULL) {
ZSTD_externalMatchCtx emctx;
+1 -1
View File
@@ -404,7 +404,7 @@ typedef struct {
/* Context for block-level external matchfinder API */
typedef struct {
void* mState;
ZSTD_sequenceProducer_F* mFinder;
ZSTD_sequenceProducer_F mFinder;
ZSTD_Sequence* seqBuffer;
size_t seqBufferCapacity;
} ZSTD_externalMatchCtx;