summaryrefslogtreecommitdiff
path: root/upb/pb/encoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'upb/pb/encoder.h')
-rw-r--r--upb/pb/encoder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/upb/pb/encoder.h b/upb/pb/encoder.h
index 780f60f..1113c3a 100644
--- a/upb/pb/encoder.h
+++ b/upb/pb/encoder.h
@@ -43,6 +43,8 @@ upb_sink upb_pb_encoder_input(upb_pb_encoder *p);
upb_pb_encoder* upb_pb_encoder_create(upb_arena* a, const upb_handlers* h,
upb_bytessink output);
+/* Lazily builds and caches handlers that will push encoded data to a bytessink.
+ * Any msgdef objects used with this object must outlive it. */
upb_handlercache *upb_pb_encoder_newcache();
#ifdef __cplusplus
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback