summaryrefslogtreecommitdiff
path: root/pbstream.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-02-24 08:32:07 -0800
committerJoshua Haberman <joshua@reverberate.org>2009-02-24 08:32:07 -0800
commita38b191e8dd18d838d60da6060fcc2ba23657138 (patch)
tree32ed7222f0350f146ff0ecd8b6cb68cad279578b /pbstream.h
parentfaf6b5f3bfe9cae65817c8f94dc8770323276a92 (diff)
Move submessage begin code to handler as well.
Diffstat (limited to 'pbstream.h')
-rw-r--r--pbstream.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pbstream.h b/pbstream.h
index 686692e..3c551d2 100644
--- a/pbstream.h
+++ b/pbstream.h
@@ -50,8 +50,9 @@ typedef enum pbstream_cardinality {
typedef int32_t pbstream_field_number_t;
/* A deserialized value as described in a .proto file. */
+struct pbstream_field_descriptor;
struct pbstream_value {
- pbstream_type_t type;
+ struct pbstream_field_descriptor *field_descriptor;
union {
double _double;
float _float;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback