diff options
author | Mattia Barbon <mattia@barbon.org> | 2015-12-30 17:55:28 +0100 |
---|---|---|
committer | Mattia Barbon <mattia@barbon.org> | 2015-12-30 17:55:28 +0100 |
commit | 4ab60c1def757717f1669b0c9b6419a095b5a8fd (patch) | |
tree | a67bd6ecd10e91e79b12908463c4d0a6e075ef7e /upb | |
parent | a1c8f7ce7cd367696281a16ee54844b19e125328 (diff) |
Add missing upb_fielddef_fullname implementation
Diffstat (limited to 'upb')
-rw-r--r-- | upb/def.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |