summaryrefslogtreecommitdiff
path: root/upb_parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'upb_parse.h')
-rw-r--r--upb_parse.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/upb_parse.h b/upb_parse.h
index 7e53cee..4be272a 100644
--- a/upb_parse.h
+++ b/upb_parse.h
@@ -37,7 +37,11 @@ void upb_parse_state_free(struct upb_parse_state *state);
*
* The client can set user_field_desc to a record describing this field -- this
* pointer will be supplied to the value callback (for simple values) or the
- * submsg_start callback (for submessages). */
+ * submsg_start callback (for submessages).
+ *
+ * TODO: there needs to be a way to skip a delimited field while still knowing
+ * its offset and length. That could be through this callback or it could be a
+ * separate callback. */
typedef upb_field_type_t (*upb_tag_cb)(struct upb_parse_state *s,
struct upb_tag *tag,
void **user_field_desc);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback