summaryrefslogtreecommitdiffstats
path: root/lib/lz4frame.c
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2022-09-13 01:34:48 (GMT)
committerYann Collet <cyan@fb.com>2022-09-13 01:34:48 (GMT)
commit72b9348f023479b7d9afb4b7c2c8a666e82ff7a8 (patch)
treec7b2873546c8e806bd7ca899278a6d4d0ca9fbf5 /lib/lz4frame.c
parent32bfb209d36ff7a32282771f7dba4e378b10cb10 (diff)
downloadlz4-72b9348f023479b7d9afb4b7c2c8a666e82ff7a8.zip
lz4-72b9348f023479b7d9afb4b7c2c8a666e82ff7a8.tar.gz
lz4-72b9348f023479b7d9afb4b7c2c8a666e82ff7a8.tar.bz2
Clarifiy documentation for LZ4F_HEAPMODE
Now it's only about LZ4F_compressFrame(), and it's only about the Compression Context (not the hash tables, which used to be integrated).
Diffstat (limited to 'lib/lz4frame.c')
-rw-r--r--lib/lz4frame.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lz4frame.c b/lib/lz4frame.c
index b4caff4..4d991e1 100644
--- a/lib/lz4frame.c
+++ b/lib/lz4frame.c
@@ -54,8 +54,8 @@
**************************************/
/*
* LZ4F_HEAPMODE :
- * Select how default compression functions will allocate memory for their hash table,
- * in memory stack (0:default, fastest), or in memory heap (1:requires malloc()).
+ * Select how LZ4F_compressFrame will allocate the Compression Context,
+ * either on stack (0:default, fastest), or in memory heap (1:requires malloc()).
*/
#ifndef LZ4F_HEAPMODE
# define LZ4F_HEAPMODE 0