summaryrefslogtreecommitdiff
path: root/src/upb_decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/upb_decoder.h')
-rw-r--r--src/upb_decoder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/upb_decoder.h b/src/upb_decoder.h
index 9cebe0c..5662c9c 100644
--- a/src/upb_decoder.h
+++ b/src/upb_decoder.h
@@ -62,12 +62,12 @@ struct _upb_decoder {
// Our current position in the data buffer.
const char *ptr;
+ // End of this buffer, relative to *ptr.
+ const char *end;
+
// End of this submessage, relative to *ptr.
const char *submsg_end;
- // Number of bytes available at ptr.
- size_t len;
-
// Msgdef for the current level.
upb_msgdef *msgdef;
};
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback