Add missing upb_fielddef_fullname implementation

pull/13171/head
Mattia Barbon 9 years ago
parent a1c8f7ce7c
commit 4ab60c1def
  1. 4
      upb/def.c

@ -526,6 +526,10 @@ static void upb_fielddef_uninit_default(upb_fielddef *f) {
freestr(f->defaultval.bytes); freestr(f->defaultval.bytes);
} }
const char *upb_fielddef_fullname(const upb_fielddef *e) {
return upb_def_fullname(upb_fielddef_upcast(e));
}
static void visitfield(const upb_refcounted *r, upb_refcounted_visit *visit, static void visitfield(const upb_refcounted *r, upb_refcounted_visit *visit,
void *closure) { void *closure) {
const upb_fielddef *f = (const upb_fielddef*)r; const upb_fielddef *f = (const upb_fielddef*)r;

Loading…
Cancel
Save