diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-06-29 17:54:50 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-06-29 17:54:50 -0700 |
commit | 2d21601d477dfc242d31acabdad119a56d2b7945 (patch) | |
tree | 96a08d55056b9a82b7beed9b22fce7bb160a730f /upb.h | |
parent | 5e2691460e9fb2ec9b77c1f9d133ae6b667afc3a (diff) |
Reworked low-level parsing: smaller, safer.
Diffstat (limited to 'upb.h')
-rw-r--r-- | upb.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -110,6 +110,9 @@ union upb_symbol_ref { typedef enum upb_status { UPB_STATUS_OK = 0, + // The input byte stream ended in the middle of a record. + UPB_STATUS_NEED_MORE_DATA = 1, + // A varint did not terminate before hitting 64 bits. UPB_ERROR_UNTERMINATED_VARINT = -1, |