From c7dcf0f37937b5af99730072ec048f94506b5648 Mon Sep 17 00:00:00 2001
From: Yann Collet
Date: Mon, 19 Jun 2017 12:03:25 -0700
Subject: [PATCH] updated manual
---
doc/zstd_manual.html | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/doc/zstd_manual.html b/doc/zstd_manual.html
index d108acaa4..907366032 100644
--- a/doc/zstd_manual.html
+++ b/doc/zstd_manual.html
@@ -437,8 +437,9 @@ size_t ZSTD_estimateDDictSize(size_t dictSize, unsigned byReference);
If it needs more memory than available, it will simply error out.
Note 2 : there is no corresponding "free" function.
Since workspace was allocated externally, it must be freed externally too.
- Limitation : currently not compatible with internal CDict creation, such as
- ZSTD_CCtx_loadDictionary() or ZSTD_initCStream_usingDict().
+ Limitation 1 : currently not compatible with internal CDict creation, such as
+ ZSTD_CCtx_loadDictionary() or ZSTD_initCStream_usingDict().
+ Limitation 2 : currently not compatible with multi-threading
@@ -496,8 +497,8 @@ size_t ZSTD_estimateDDictSize(size_t dictSize, unsigned byReference);
ZSTD_compressionParameters ZSTD_adjustCParams(ZSTD_compressionParameters cPar, unsigned long long srcSize, size_t dictSize);
- optimize params for a given `srcSize` and `dictSize`.
- both values are optional, select `0` if unknown.
+
optimize params for a given `srcSize` and `dictSize`.
+ both values are optional, select `0` if unknown.
size_t ZSTD_compress_advanced (ZSTD_CCtx* cctx,
@@ -611,7 +612,7 @@ size_t ZSTD_estimateDDictSize(size_t dictSize, unsigned byReference);
this value is overriden by srcSize instead.
-size_t ZSTD_CCtx_loadDictionary(ZSTD_CCtx* cctx, const void* dict, size_t dictSize); /* Not ready yet ! */
+size_t ZSTD_CCtx_loadDictionary(ZSTD_CCtx* cctx, const void* dict, size_t dictSize);
Create an internal CDict from dict buffer.
Decompression will have to use same buffer.
@result : 0, or an error code (which can be tested with ZSTD_isError()).