3.6.3. Context Objects#
-
PyTypeObject CpContext_Type#
The type object for the
CpContextObjectclass.
-
type CpContextObject#
C implementation of the Python equivalent. Represents a context object with attribute-style access, which also conforms to the context protocol.
-
int CpContext_CheckExact(PyObject *op)#
Checks if the given object is an
CpContextObject.
-
int CpContext_Check(PyObject *op)#
Checks if the given object is instance of an
CpContextObject.
-
PyObject *CpContext_New(void)#
- Return value: New reference.
Creates a new context and returns it. Returns NULL if an error occurs.
-
PyObject *CpContext_GetDict(PyObject *context)#
- Return value: New reference.
TBD
-
PyObject *CpContext_GetRoot(PyObject *context)#
- Return value: New reference.
TBD
-
PyObject *CpContext_GenericGetAttr(PyObject *context, PyObject *path)#
- Return value: New reference.
TBD
-
PyObject *CpContext_GenericGetAttrString(PyObject *context, const char *path)#
- Return value: New reference.
TBD
-
int CpContext_GenericSetAttr(PyObject *context, PyObject *path, PyObject *value)#
TBD
-
int CpContext_GenericSetAttrString(PyObject *context, const char *path, PyObject *value)#
TBD