Blender V5.3
blender::BPy_EnumProperty_Parse Struct Reference

#include <py_capi_rna.hh>

Public Attributes

const EnumPropertyItem * items
PyObject * value_orig
int value
bool is_set

Detailed Description

Data for pyrna_enum_value_parse_string & pyrna_enum_bitfield_parse_set parsing utilities. Use with #PyArg_ParseTuple's O& formatting.

Definition at line 60 of file py_capi_rna.hh.

Member Data Documentation

◆ is_set

◆ items

◆ value

◆ value_orig

PyObject* blender::BPy_EnumProperty_Parse::value_orig

Set when the value was successfully parsed. Useful if the input ever needs to be included in an error message. (if the value is not supported under certain conditions).

Definition at line 67 of file py_capi_rna.hh.

Referenced by blender::pyrna_enum_bitfield_parse_set(), and blender::pyrna_enum_value_parse_string().


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