Macros | Functions | Variables
protobuf/python/google/protobuf/pyext/message_module.cc File Reference
#include <Python.h>
#include <google/protobuf/message_lite.h>
#include <google/protobuf/pyext/descriptor.h>
#include <google/protobuf/pyext/descriptor_pool.h>
#include <google/protobuf/pyext/message.h>
#include <google/protobuf/pyext/message_factory.h>
#include <google/protobuf/proto_api.h>
Include dependency graph for protobuf/python/google/protobuf/pyext/message_module.cc:

Go to the source code of this file.

Macros

#define PY_SSIZE_T_CLEAN
 

Functions

PyMODINIT_FUNC PyInit__message ()
 

Variables

static struct PyModuleDef _module
 
static const char module_docstring []
 
static PyMethodDef ModuleMethods []
 

Macro Definition Documentation

◆ PY_SSIZE_T_CLEAN

#define PY_SSIZE_T_CLEAN

Function Documentation

◆ PyInit__message()

PyMODINIT_FUNC PyInit__message ( )

Variable Documentation

◆ _module

struct PyModuleDef _module
static
Initial value:
= {PyModuleDef_HEAD_INIT,
"_message",
-1,
NULL,
NULL,
NULL,
NULL}

Definition at line 99 of file protobuf/python/google/protobuf/pyext/message_module.cc.

◆ module_docstring

const char module_docstring[]
static
Initial value:
=
"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."

Definition at line 85 of file protobuf/python/google/protobuf/pyext/message_module.cc.

◆ ModuleMethods

PyMethodDef ModuleMethods[]
static
Initial value:
= {
{"SetAllowOversizeProtos",
"Enable/disable oversize proto parsing."},
{NULL, NULL}}

Definition at line 92 of file protobuf/python/google/protobuf/pyext/message_module.cc.

module_docstring
static const char module_docstring[]
Definition: protobuf/python/google/protobuf/pyext/message_module.cc:85
google::protobuf::python::cmessage::SetAllowOversizeProtos
PyObject * SetAllowOversizeProtos(PyObject *m, PyObject *arg)
Definition: bloaty/third_party/protobuf/python/google/protobuf/pyext/message.cc:1914
ModuleMethods
static PyMethodDef ModuleMethods[]
Definition: protobuf/python/google/protobuf/pyext/message_module.cc:92


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:23