summaryrefslogtreecommitdiff
path: root/upb/handlers.h
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2011-08-31 14:57:45 -0700
committerJoshua Haberman <jhaberman@gmail.com>2011-08-31 14:57:45 -0700
commit8eb2b2a2169af97e5182a5a758b09a6e0e0caf37 (patch)
treec40eca7db34be18e069ee521376a6f79ebe78536 /upb/handlers.h
parent521ac7a89adb97bcd1781b4131333554ccd4de87 (diff)
Revised upb_bytesink, refactored upb_textprinter (untested).
Diffstat (limited to 'upb/handlers.h')
-rw-r--r--upb/handlers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/upb/handlers.h b/upb/handlers.h
index 2e44318..a7c1d9d 100644
--- a/upb/handlers.h
+++ b/upb/handlers.h
@@ -89,7 +89,7 @@ typedef enum {
// Halt processing permanently (in a non-resumable way). The endmsg handlers
// for any currently open messages will be called which can supply a more
// specific status message. No further input data will be consumed.
- UPB_BREAK,
+ UPB_BREAK = -1,
// Skips to the end of the current submessage (or if we are at the top
// level, skips to the end of the entire message). In other words, it is
@@ -102,7 +102,7 @@ typedef enum {
//
// If UPB_SKIPSUBMSG is called from the top-level message, no further input
// data will be consumed.
- UPB_SKIPSUBMSG,
+ UPB_SKIPSUBMSG = -2,
// TODO: Add UPB_SUSPEND, for resumable producers/consumers.
} upb_flow_t;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback