update docs PiperOrigin-RevId: 812697066
diff --git a/docs/encode.h.3 b/docs/encode.h.3 index eea97d9..49173aa 100644 --- a/docs/encode.h.3 +++ b/docs/encode.h.3
@@ -535,6 +535,11 @@ .PP Prepares a shared dictionary from the given file format for the encoder\&. \fCalloc_func\fP and \fCfree_func\fP \fBMUST\fP be both zero or both non-zero\&. In the case they are both zero, default memory allocators are used\&. \fCopaque\fP is passed to \fCalloc_func\fP and \fCfree_func\fP when they are called\&. \fCfree_func\fP has to return without doing anything when asked to free a NULL pointer\&. .PP +\fBWarning:\fP +.RS 4 +Created instance is 'lean'; it does not contain copy of \fCdata\fP, rather it contains only pointer to it; therefore, \fCdata\fP \fBMUST\fP outlive the created instance\&. +.RE +.PP \fBParameters:\fP .RS 4 \fItype\fP type of dictionary stored in data