Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

clarifications in yajl_gen_reset()'s documentation

  • Loading branch information...
commit 12ee82ae5138ac86252c41f3ae8f9fd9880e4284 1 parent a908d2d
@lloyd authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/api/yajl_gen.h
6 src/api/yajl_gen.h
@@ -154,8 +154,10 @@ extern "C" {
* json entities in a stream. The "sep" string will be inserted to
* separate the previously generated entity from the current,
* NULL means *no separation* of entites (clients beware, generating
- * multiple JSON numbers, for instance, will result in inscrutable
- * output) */
+ * multiple JSON numbers without a separator, for instance, will result in ambiguous output)
+ *
+ * Note: this call will not clear yajl's output buffer. This
+ * may be accomplished explicitly by calling yajl_gen_clear() */
YAJL_API void yajl_gen_reset(yajl_gen hand, const char * sep);
#ifdef __cplusplus
Please sign in to comment.
Something went wrong with that request. Please try again.