summaryrefslogtreecommitdiff
path: root/src/upb_def.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2011-02-17 23:07:17 -0800
committerJoshua Haberman <joshua@reverberate.org>2011-02-17 23:07:17 -0800
commitd8b215486245e84e33283b6047fb253bbb418e00 (patch)
tree4c07a4d3162a0390be0b55d619ddab0e7a6acb23 /src/upb_def.h
parentf1e1cc4695b34b292454e903adbf09e66cf2e9d5 (diff)
First version of an assembly language decoder.
It is slower than the C decoder for now because it falls off the fast path too often. But it can successfully decode varints, fixed32 and fixed64.
Diffstat (limited to 'src/upb_def.h')
-rw-r--r--src/upb_def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upb_def.h b/src/upb_def.h
index cca908b..db33fbb 100644
--- a/src/upb_def.h
+++ b/src/upb_def.h
@@ -163,8 +163,8 @@ typedef struct _upb_msgdef {
// Hash table entries for looking up fields by name or number.
typedef struct {
bool junk;
- upb_wire_type_t native_wire_type;
upb_fieldtype_t field_type;
+ upb_wire_type_t native_wire_type;
upb_fielddef *f;
} upb_itof_ent;
typedef struct {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback