diff options
author | Manjunath Kudlur <keveman@gmail.com> | 2015-12-07 13:08:21 -0800 |
---|---|---|
committer | Manjunath Kudlur <keveman@gmail.com> | 2015-12-07 13:08:21 -0800 |
commit | 3ff1dca0bd9c1526cc0377533db89c4a45862253 (patch) | |
tree | 031bcc9871bc786d4f31e4d237a0035d789eeea7 /python/google | |
parent | 9bd74b7f25b45b253f46025d7300a17df58d213f (diff) | |
download | protobuf-3ff1dca0bd9c1526cc0377533db89c4a45862253.tar.gz protobuf-3ff1dca0bd9c1526cc0377533db89c4a45862253.tar.bz2 protobuf-3ff1dca0bd9c1526cc0377533db89c4a45862253.zip |
Enable fast cpp protos in the python interface.
Diffstat (limited to 'python/google')
6 files changed, 12 insertions, 6 deletions
diff --git a/python/google/protobuf/pyext/extension_dict.h b/python/google/protobuf/pyext/extension_dict.h index 7e1049f1..0cac8ba6 100644 --- a/python/google/protobuf/pyext/extension_dict.h +++ b/python/google/protobuf/pyext/extension_dict.h @@ -47,7 +47,8 @@ namespace protobuf { class Message; class FieldDescriptor; -using internal::shared_ptr; +using std::shared_ptr; +using std::string; namespace python { diff --git a/python/google/protobuf/pyext/message.h b/python/google/protobuf/pyext/message.h index 1ff82e2f..d4b7f4cf 100644 --- a/python/google/protobuf/pyext/message.h +++ b/python/google/protobuf/pyext/message.h @@ -52,7 +52,8 @@ class Descriptor; class DescriptorPool; class MessageFactory; -using internal::shared_ptr; +using std::shared_ptr; +using std::string; namespace python { diff --git a/python/google/protobuf/pyext/message_map_container.h b/python/google/protobuf/pyext/message_map_container.h index 8286ba8a..270922d4 100644 --- a/python/google/protobuf/pyext/message_map_container.h +++ b/python/google/protobuf/pyext/message_map_container.h @@ -45,7 +45,8 @@ namespace protobuf { class Message; -using internal::shared_ptr; +using std::shared_ptr; +using std::string; namespace python { diff --git a/python/google/protobuf/pyext/repeated_composite_container.h b/python/google/protobuf/pyext/repeated_composite_container.h index 3013aba9..494db0ec 100644 --- a/python/google/protobuf/pyext/repeated_composite_container.h +++ b/python/google/protobuf/pyext/repeated_composite_container.h @@ -49,7 +49,8 @@ namespace protobuf { class FieldDescriptor; class Message; -using internal::shared_ptr; +using std::shared_ptr; +using std::string; namespace python { diff --git a/python/google/protobuf/pyext/repeated_scalar_container.h b/python/google/protobuf/pyext/repeated_scalar_container.h index 5dfa21e0..a13cf9b2 100644 --- a/python/google/protobuf/pyext/repeated_scalar_container.h +++ b/python/google/protobuf/pyext/repeated_scalar_container.h @@ -48,7 +48,8 @@ namespace protobuf { class Message; -using internal::shared_ptr; +using std::shared_ptr; +using std::string; namespace python { diff --git a/python/google/protobuf/pyext/scalar_map_container.h b/python/google/protobuf/pyext/scalar_map_container.h index aded8d49..8807892d 100644 --- a/python/google/protobuf/pyext/scalar_map_container.h +++ b/python/google/protobuf/pyext/scalar_map_container.h @@ -45,7 +45,8 @@ namespace protobuf { class Message; -using internal::shared_ptr; +using std::shared_ptr; +using std::string; namespace python { |