Classes | Namespaces | Macros | Functions | Variables
protobuf/python/google/protobuf/pyext/extension_dict.cc File Reference
#include <google/protobuf/pyext/extension_dict.h>
#include <cstdint>
#include <memory>
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/dynamic_message.h>
#include <google/protobuf/message.h>
#include <google/protobuf/pyext/descriptor.h>
#include <google/protobuf/pyext/message.h>
#include <google/protobuf/pyext/message_factory.h>
#include <google/protobuf/pyext/repeated_composite_container.h>
#include <google/protobuf/pyext/repeated_scalar_container.h>
#include <google/protobuf/pyext/scoped_pyobject_ptr.h>
Include dependency graph for protobuf/python/google/protobuf/pyext/extension_dict.cc:

Go to the source code of this file.

Classes

struct  google::protobuf::python::extension_dict::ExtensionIterator
 

Namespaces

 google
 
 google::protobuf
 
 google::protobuf::python
 
 google::protobuf::python::extension_dict
 

Macros

#define EDMETHOD(name, args, doc)   { #name, (PyCFunction)name, args, doc }
 
#define PyString_AsStringAndSize(ob, charpp, sizep)
 

Functions

PyObject * google::protobuf::python::extension_dict::_FindExtensionByName (ExtensionDict *self, PyObject *arg)
 
PyObject * google::protobuf::python::extension_dict::_FindExtensionByNumber (ExtensionDict *self, PyObject *arg)
 
int google::protobuf::python::extension_dict::ass_subscript (ExtensionDict *self, PyObject *key, PyObject *value)
 
static int google::protobuf::python::extension_dict::Contains (PyObject *_self, PyObject *key)
 
void google::protobuf::python::extension_dict::dealloc (PyObject *pself)
 
static void google::protobuf::python::extension_dict::DeallocExtensionIterator (PyObject *_self)
 
PyObject * google::protobuf::python::extension_dict::GetIter (PyObject *_self)
 
PyObject * google::protobuf::python::IterNext (PyObject *_self)
 
static Py_ssize_t google::protobuf::python::extension_dict::len (ExtensionDict *self)
 
ExtensionDict * google::protobuf::python::extension_dict::NewExtensionDict (CMessage *parent)
 
static PyObject * google::protobuf::python::extension_dict::RichCompare (ExtensionDict *self, PyObject *other, int opid)
 
PyObject * google::protobuf::python::extension_dict::subscript (ExtensionDict *self, PyObject *key)
 

Variables

static PyMethodDef google::protobuf::python::extension_dict::Methods []
 
static PyMappingMethods google::protobuf::python::extension_dict::MpMethods
 
static PySequenceMethods google::protobuf::python::extension_dict::SeqMethods
 

Macro Definition Documentation

◆ EDMETHOD

#define EDMETHOD (   name,
  args,
  doc 
)    { #name, (PyCFunction)name, args, doc }

◆ PyString_AsStringAndSize

#define PyString_AsStringAndSize (   ob,
  charpp,
  sizep 
)
Value:
(PyUnicode_Check(ob) ? ((*(charpp) = const_cast<char*>( \
PyUnicode_AsUTF8AndSize(ob, (sizep)))) == NULL \
? -1 \
: 0) \
: PyBytes_AsStringAndSize(ob, (charpp), (sizep)))

Definition at line 52 of file protobuf/python/google/protobuf/pyext/extension_dict.cc.



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