diff options
author | Joshua Haberman <joshua@reverberate.org> | 2010-06-03 12:07:07 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2010-06-03 12:07:07 -0700 |
commit | a484ea0275f4d451d881b4edb1e1e4ae93be42a7 (patch) | |
tree | 76f152fc5091fb3fa012633f416828e33279ca9f /src/upb.h | |
parent | 0034e6fdb82b7e0623983f44ba4fc1c98393d032 (diff) |
WIP: intrusive changes to upb_decoder.
Diffstat (limited to 'src/upb.h')
-rw-r--r-- | src/upb.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -270,8 +270,8 @@ INLINE void upb_value_write(upb_valueptr ptr, upb_value val, enum upb_status_code { UPB_STATUS_OK = 0, - // The input byte stream ended in the middle of a record. - UPB_STATUS_NEED_MORE_DATA = 1, + // A read or write from a streaming src/sink could not be completed right now. + UPB_STATUS_TRYAGAIN = 1, // An unrecoverable error occurred. UPB_STATUS_ERROR = -1, |