summaryrefslogtreecommitdiff
path: root/upb/handlers.h
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2019-01-15 14:48:09 -0800
committerJoshua Haberman <jhaberman@gmail.com>2019-01-15 14:48:09 -0800
commit2c26f60dbbc49bca6233cc20a15ff4b32454c6e8 (patch)
treeed3457ac04b937d8738f481e698cf001578880a9 /upb/handlers.h
parent9349b703a33c76b0d50a15c6d372e8948e045749 (diff)
Added some comments and reversed upb_arena_cleanup() args.
Diffstat (limited to 'upb/handlers.h')
-rw-r--r--upb/handlers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/upb/handlers.h b/upb/handlers.h
index 764e83e..e267f12 100644
--- a/upb/handlers.h
+++ b/upb/handlers.h
@@ -594,6 +594,10 @@ class upb::HandlersPtr {
/* upb_handlercache ***********************************************************/
+/* A upb_handlercache lazily builds and caches upb_handlers. You pass it a
+ * function (with optional closure) that can build handlers for a given
+ * message on-demand, and the cache maintains a map of msgdef->handlers. */
+
#ifdef __cplusplus
extern "C" {
#endif
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback