| Index: third_party/protobuf/src/google/protobuf/compiler/python/python_generator.h
|
| diff --git a/third_party/protobuf/src/google/protobuf/compiler/python/python_generator.h b/third_party/protobuf/src/google/protobuf/compiler/python/python_generator.h
|
| index 43c20876884e42297f40e9a18024ccbcdf36dd7b..84eaf8abd062ac42557c88f232740b6deee5e301 100644
|
| --- a/third_party/protobuf/src/google/protobuf/compiler/python/python_generator.h
|
| +++ b/third_party/protobuf/src/google/protobuf/compiler/python/python_generator.h
|
| @@ -66,7 +66,7 @@ class LIBPROTOC_EXPORT Generator : public CodeGenerator {
|
| // CodeGenerator methods.
|
| virtual bool Generate(const FileDescriptor* file,
|
| const string& parameter,
|
| - OutputDirectory* output_directory,
|
| + GeneratorContext* generator_context,
|
| string* error) const;
|
|
|
| private:
|
| @@ -104,6 +104,7 @@ class LIBPROTOC_EXPORT Generator : public CodeGenerator {
|
| void FixForeignFieldsInField(const Descriptor* containing_type,
|
| const FieldDescriptor& field,
|
| const string& python_dict_name) const;
|
| + void AddMessageToFileDescriptor(const Descriptor& descriptor) const;
|
| string FieldReferencingExpression(const Descriptor* containing_type,
|
| const FieldDescriptor& field,
|
| const string& python_dict_name) const;
|
|
|