From: shakeelrao Date: Mon, 18 Mar 2019 00:41:27 +0000 (-0700) Subject: Update documentation for ZSTD_frameSizeInfo X-Git-Tag: v1.4.0^2~26^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0033bb4785debbd9fc916cab34aad54cb105f4c2;p=thirdparty%2Fzstd.git Update documentation for ZSTD_frameSizeInfo --- diff --git a/lib/common/zstd_internal.h b/lib/common/zstd_internal.h index f5de27a19..31f756ab5 100644 --- a/lib/common/zstd_internal.h +++ b/lib/common/zstd_internal.h @@ -244,14 +244,14 @@ typedef struct { /** * Contains the compressed frame size and an upper-bound for the decompressed frame size. - * Note: before using `compressedSize` you must check for errors using ZSTD_isError(). - * similarly, before using `decompressedBound`, you must check for errors using: - * `decompressedBound` != ZSTD_CONTENTSIZE_ERROR + * Note: before using `compressedSize`, check for errors using ZSTD_isError(). + * similarly, before using `decompressedBound`, check for errors using: + * `decompressedBound != ZSTD_CONTENTSIZE_ERROR` */ typedef struct { size_t compressedSize; unsigned long long decompressedBound; -} ZSTD_frameSizeInfo; +} ZSTD_frameSizeInfo; /* decompress & legacy */ const seqStore_t* ZSTD_getSeqStore(const ZSTD_CCtx* ctx); /* compress & dictBuilder */ void ZSTD_seqToCodes(const seqStore_t* seqStorePtr); /* compress, dictBuilder, decodeCorpus (shouldn't get its definition from here) */