From a484ea0275f4d451d881b4edb1e1e4ae93be42a7 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Thu, 3 Jun 2010 12:07:07 -0700 Subject: WIP: intrusive changes to upb_decoder. --- src/upb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/upb.h') 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, -- cgit v1.2.3