]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Update documentation for ZSTD_frameSizeInfo
authorshakeelrao <shakeelrao79@gmail.com>
Mon, 18 Mar 2019 00:41:27 +0000 (17:41 -0700)
committershakeelrao <shakeelrao79@gmail.com>
Mon, 18 Mar 2019 00:41:27 +0000 (17:41 -0700)
lib/common/zstd_internal.h

index f5de27a199862503f4fefb6b5b70922911ebbd45..31f756ab581235c2ffadc07c2847f94ebfd6d13d 100644 (file)
@@ -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) */