From db59a5198f890ecdcac1227b0bb998160acac5c6 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Fri, 23 Dec 2011 16:51:23 -0800 Subject: Fixes to un-break "make descriptorgen" --- upb/def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'upb/def.h') diff --git a/upb/def.h b/upb/def.h index 67e478b..462655a 100644 --- a/upb/def.h +++ b/upb/def.h @@ -109,7 +109,7 @@ typedef struct _upb_fielddef { uint8_t label; // Use UPB_LABEL() constants. int16_t hasbit; uint16_t offset; - bool default_is_symbolic; + bool default_is_string; bool active; int32_t number; char *name; @@ -161,7 +161,7 @@ INLINE upb_value upb_fielddef_default(const upb_fielddef *f) { // returns true, the default returned from upb_fielddef_default() is a string, // otherwise it is an integer. INLINE bool upb_fielddef_default_is_symbolic(const upb_fielddef *f) { - return f->default_is_symbolic; + return f->default_is_string; } // The enum or submessage def for this field, if any. Only meaningful for -- cgit v1.2.3