Blender V5.3
blender::PyC_TypeOrNone Struct Reference

#include <py_capi_utils.hh>

Public Attributes

PyTypeObject * type
PyObject ** value_p

Detailed Description

Use with PyArg_ParseTuple's "O&" formatting.

A version of O! that also accepts None (setting the pointer to nullptr).

Definition at line 323 of file py_capi_utils.hh.

Member Data Documentation

◆ type

PyTypeObject* blender::PyC_TypeOrNone::type

Definition at line 324 of file py_capi_utils.hh.

◆ value_p

PyObject** blender::PyC_TypeOrNone::value_p

Definition at line 325 of file py_capi_utils.hh.


The documentation for this struct was generated from the following file: