summaryrefslogtreecommitdiff
path: root/core/upb_def.c
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2010-07-21 18:59:01 -0700
committerJoshua Haberman <joshua@reverberate.org>2010-07-21 18:59:01 -0700
commit21ee24a7300dbdabef707457d2407b4f9187603b (patch)
tree4dae7c1ca0c6f4587c00561cd65d474680f0949b /core/upb_def.c
parent71ac83fe7a15b27f34e9da452eaeee8df460a2aa (diff)
Updated Lua extension to handle fielddefs.
Diffstat (limited to 'core/upb_def.c')
-rw-r--r--core/upb_def.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/upb_def.c b/core/upb_def.c
index 1feaf9d..e40e1f0 100644
--- a/core/upb_def.c
+++ b/core/upb_def.c
@@ -355,6 +355,7 @@ static bool upb_addfield(upb_src *src, upb_msgdef *m, upb_status *status)
f->name = NULL;
f->def = NULL;
f->owned = false;
+ f->msgdef = m;
upb_fielddef *parsed_f;
int32_t tmp;
while((parsed_f = upb_src_getdef(src))) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback