summaryrefslogtreecommitdiffstats
path: root/lib/lz4hc.h
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2017-03-17 22:11:09 (GMT)
committerYann Collet <cyan@fb.com>2017-03-17 22:11:09 (GMT)
commit0d073d4d287b08659eada92c614bec30fa277cd0 (patch)
treef756c99a749ef48bea1ae6e4d4c69a87f3001248 /lib/lz4hc.h
parentaae447fffd3c5afd95a94c56ea70c349edad1ebd (diff)
downloadlz4-0d073d4d287b08659eada92c614bec30fa277cd0.zip
lz4-0d073d4d287b08659eada92c614bec30fa277cd0.tar.gz
lz4-0d073d4d287b08659eada92c614bec30fa277cd0.tar.bz2
added `extern C` for lz4.h static section
should make the file more compatible with C++ compiler, such as Visual or g++
Diffstat (limited to 'lib/lz4hc.h')
-rw-r--r--lib/lz4hc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lz4hc.h b/lib/lz4hc.h
index 09a648c..c96273b 100644
--- a/lib/lz4hc.h
+++ b/lib/lz4hc.h
@@ -257,7 +257,7 @@ LZ4LIB_API int LZ4_compress_HC_destSize(void* LZ4HC_Data,
* Result is provided in 2 parts :
* @return : the number of bytes written into 'dst'
* or 0 if compression fails.
- * `sourceSizePtr` : value will be updated to indicate how much bytes were read from `source`
+ * `srcSizePtr` : value will be updated to indicate how much bytes were read from `src`
* Important : due to limitations, this prototype only works well up to cLevel < LZ4HC_CLEVEL_OPT_MIN
* beyond that level, compression performance will be much reduced due to internal incompatibilities
*/