We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9686382 commit 0bef8a6Copy full SHA for 0bef8a6
c/include/brotli/encode.h
@@ -283,6 +283,10 @@ typedef struct BrotliEncoderPreparedDictionaryStruct
283
* passed to @p alloc_func and @p free_func when they are called. @p free_func
284
* has to return without doing anything when asked to free a NULL pointer.
285
*
286
+ * @warning Created instance is "lean"; it does not contain copy of @p data,
287
+ * rather it contains only pointer to it; therefore,
288
+ * @p data @b MUST outlive the created instance.
289
+ *
290
* @param type type of dictionary stored in data
291
* @param data_size size of @p data buffer
292
* @param data pointer to the dictionary data
0 commit comments