diff options
author | Joshua Haberman <joshua@reverberate.org> | 2011-02-17 11:37:25 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2011-02-17 11:37:25 -0800 |
commit | f9a6f67e275dd6d379ae9428e1c40f43d8d17386 (patch) | |
tree | 143b444dd9b5c9f32771b0e910243aa5da3fc902 /src/upb_stream.h | |
parent | 5edfe9a4c9badf0095f65c88611b107ee28dc9ad (diff) |
Track buffer end instead of buffer length, for a small perf improvement.
Diffstat (limited to 'src/upb_stream.h')
-rw-r--r-- | src/upb_stream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upb_stream.h b/src/upb_stream.h index fe66c63..229cf86 100644 --- a/src/upb_stream.h +++ b/src/upb_stream.h @@ -60,7 +60,7 @@ struct _upb_fielddef; // continue or not. typedef enum { // Caller should continue sending values to the sink. - UPB_CONTINUE, + UPB_CONTINUE = 0, // Stop processing for now; check status for details. If no status was set, // a generic error will be returned. If the error is resumable, it is not |