diff options
author | Bo Yang <teboring@google.com> | 2016-09-23 21:13:11 +0000 |
---|---|---|
committer | Bo Yang <teboring@google.com> | 2016-10-10 11:44:21 -0700 |
commit | 1c4cf0eeb52dd22bdd1ec3136b4f9b977e6edf07 (patch) | |
tree | 222a3ec32dbbf6f525806128e00832fb659cbf63 /python/google/protobuf/pyext | |
parent | 460e7dd7c47b5a3fc290008317c044fac741916a (diff) |
Fix python cpp.
Diffstat (limited to 'python/google/protobuf/pyext')
-rw-r--r-- | python/google/protobuf/pyext/descriptor_pool.h | 2 | ||||
-rw-r--r-- | python/google/protobuf/pyext/message.cc | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/python/google/protobuf/pyext/descriptor_pool.h b/python/google/protobuf/pyext/descriptor_pool.h index 8de6c60b..c4d7d403 100644 --- a/python/google/protobuf/pyext/descriptor_pool.h +++ b/python/google/protobuf/pyext/descriptor_pool.h @@ -40,7 +40,7 @@ namespace google { namespace protobuf { namespace python { -class PyMessageFactory; +struct PyMessageFactory; // The (meta) type of all Messages classes. struct CMessageClass; diff --git a/python/google/protobuf/pyext/message.cc b/python/google/protobuf/pyext/message.cc index 1b325469..7ff99aea 100644 --- a/python/google/protobuf/pyext/message.cc +++ b/python/google/protobuf/pyext/message.cc @@ -2831,13 +2831,6 @@ static Message* MutableCProtoInsidePyProtoImpl(PyObject* msg) { return cmsg->message; } -static const char module_docstring[] = -"python-proto2 is a module that can be used to enhance proto2 Python API\n" -"performance.\n" -"\n" -"It provides access to the protocol buffers C++ reflection API that\n" -"implements the basic protocol buffer functions."; - void InitGlobals() { // TODO(gps): Check all return values in this function for NULL and propagate // the error (MemoryError) on up to result in an import failure. These should |