aboutsummaryrefslogtreecommitdiffhomepage
path: root/python/google/protobuf/pyext/message.h
diff options
context:
space:
mode:
authorGravatar Thomas Colthurst <thomaswc@google.com>2018-05-29 18:26:11 -0400
committerGravatar Thomas Colthurst <thomaswc@google.com>2018-05-30 10:33:02 -0400
commit7c6514245b6e256cc97dd31a6da1e2c72de487e6 (patch)
tree275ae5a08d02048d24cd230176d8db053deb189c /python/google/protobuf/pyext/message.h
parent7d1a8fff1b424e63f6bbdd1f9f828f6f9f40e84f (diff)
Introduce Proto C API; based on cl/198113115 by amauryfa
Diffstat (limited to 'python/google/protobuf/pyext/message.h')
-rw-r--r--python/google/protobuf/pyext/message.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/google/protobuf/pyext/message.h b/python/google/protobuf/pyext/message.h
index 72bcfa83..d754e62a 100644
--- a/python/google/protobuf/pyext/message.h
+++ b/python/google/protobuf/pyext/message.h
@@ -341,6 +341,9 @@ bool CheckFieldBelongsToMessage(const FieldDescriptor* field_descriptor,
extern PyObject* PickleError_class;
+const Message* PyMessage_GetMessagePointer(PyObject* msg);
+Message* PyMessage_GetMutableMessagePointer(PyObject* msg);
+
bool InitProto2MessageModule(PyObject *m);
#if LANG_CXX11