summaryrefslogtreecommitdiff
path: root/src/upb.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2010-06-03 12:07:07 -0700
committerJoshua Haberman <joshua@reverberate.org>2010-06-03 12:07:07 -0700
commita484ea0275f4d451d881b4edb1e1e4ae93be42a7 (patch)
tree76f152fc5091fb3fa012633f416828e33279ca9f /src/upb.h
parent0034e6fdb82b7e0623983f44ba4fc1c98393d032 (diff)
WIP: intrusive changes to upb_decoder.
Diffstat (limited to 'src/upb.h')
-rw-r--r--src/upb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/upb.h b/src/upb.h
index c65a686..978ee5c 100644
--- a/src/upb.h
+++ b/src/upb.h
@@ -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,
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback