From a38b191e8dd18d838d60da6060fcc2ba23657138 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Tue, 24 Feb 2009 08:32:07 -0800 Subject: Move submessage begin code to handler as well. --- pbstream.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pbstream.h') 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; -- cgit v1.2.3