summaryrefslogtreecommitdiff
path: root/src/upb_def.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-12-29 18:39:51 -0800
committerJoshua Haberman <joshua@reverberate.org>2009-12-29 18:39:51 -0800
commitcc396257679698852380822bc6bfb61d33244172 (patch)
treea8aa652251198a9a47bcd2434ae490140accb986 /src/upb_def.h
parent2876225d0547ea7833991b9da8a72427e4bc69b9 (diff)
Getting closer, only a few functions undefined now.
Diffstat (limited to 'src/upb_def.h')
-rw-r--r--src/upb_def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upb_def.h b/src/upb_def.h
index b013c40..d44f879 100644
--- a/src/upb_def.h
+++ b/src/upb_def.h
@@ -26,7 +26,6 @@
#ifndef UPB_DEF_H_
#define UPB_DEF_H_
-#include "upb_data.h"
#include "upb_atomic.h"
#include "upb_table.h"
@@ -123,6 +122,7 @@ struct upb_fielddef {
upb_label_t label;
upb_field_number_t number;
upb_string *name;
+ union upb_value default_value;
// These are set only when this fielddef is part of a msgdef.
uint32_t byte_offset; // Where in a upb_msg to find the data.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback