Blender V5.0
BPy_EnumProperty_Parse Struct Reference

#include <py_capi_rna.hh>

Public Attributes

const EnumPropertyItemitems
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 59 of file py_capi_rna.hh.

Member Data Documentation

◆ is_set

◆ items

◆ value

◆ value_orig

PyObject* 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 66 of file py_capi_rna.hh.

Referenced by pyrna_enum_bitfield_parse_set(), and pyrna_enum_value_parse_string().


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