summaryrefslogtreecommitdiff
path: root/upb/upb.h
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2011-07-31 15:39:19 -0700
committerJoshua Haberman <jhaberman@gmail.com>2011-07-31 15:39:19 -0700
commit57abebaaf902436f8de8e50f7054c25b391067ac (patch)
tree4792a2d03a3e8e8b891845ad1000f95fe3df19bb /upb/upb.h
parent56984e8db8e1c43687535cc77fb6ce43df0b3d1f (diff)
Fixed "make descriptorgen".
Diffstat (limited to 'upb/upb.h')
-rw-r--r--upb/upb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/upb/upb.h b/upb/upb.h
index 633fd00..c826e17 100644
--- a/upb/upb.h
+++ b/upb/upb.h
@@ -106,8 +106,8 @@ enum upb_wire_type {
typedef uint8_t upb_fieldtype_t;
// For referencing the type constants tersely.
-#define UPB_TYPE(type) GOOGLE_PROTOBUF_FIELDDESCRIPTORPROTO_TYPE_ ## type
-#define UPB_LABEL(type) GOOGLE_PROTOBUF_FIELDDESCRIPTORPROTO_LABEL_ ## type
+#define UPB_TYPE(type) GOOGLE_PROTOBUF_FIELDDESCRIPTORPROTO_TYPE_TYPE_ ## type
+#define UPB_LABEL(type) GOOGLE_PROTOBUF_FIELDDESCRIPTORPROTO_LABEL_LABEL_ ## type
// Info for a given field type.
typedef struct {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback