From d9fd73a850b8cf21ac58872ded9a1763d68574af Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Wed, 19 Jan 2022 11:20:30 -0800 Subject: [PATCH] yajl: doc --- modules/libcom/src/yajl/yajl_gen.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/libcom/src/yajl/yajl_gen.h b/modules/libcom/src/yajl/yajl_gen.h index 45d6d15ee..50b163cd0 100644 --- a/modules/libcom/src/yajl/yajl_gen.h +++ b/modules/libcom/src/yajl/yajl_gen.h @@ -83,6 +83,9 @@ extern "C" { * * yajl_gen_config() argument type: const char * * + * The pointer argument passed is stored (not copied) and must remain + * valid for the lifetime of the handle, or until replaced. + * * Example: \code{.cpp} * yajl_gen_config(g, yajl_gen_indent_string, " "); // 2 spaces * \endcode