From 4ab60c1def757717f1669b0c9b6419a095b5a8fd Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Wed, 30 Dec 2015 17:55:28 +0100 Subject: Add missing upb_fielddef_fullname implementation --- upb/def.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'upb/def.c') diff --git a/upb/def.c b/upb/def.c index 000c7f4..0c694f8 100644 --- a/upb/def.c +++ b/upb/def.c @@ -526,6 +526,10 @@ static void upb_fielddef_uninit_default(upb_fielddef *f) { 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, void *closure) { const upb_fielddef *f = (const upb_fielddef*)r; -- cgit v1.2.3