Blender  V3.3
Public Attributes | List of all members
BPy_EnumProperty_Parse Struct Reference

#include <py_capi_rna.h>

Public Attributes

const struct 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 57 of file py_capi_rna.h.

Member Data Documentation

◆ is_set

bool BPy_EnumProperty_Parse::is_set

◆ items

const struct EnumPropertyItem* BPy_EnumProperty_Parse::items

◆ value

int BPy_EnumProperty_Parse::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 64 of file py_capi_rna.h.

Referenced by pyrna_enum_bitfield_parse_set(), and pyrna_enum_value_parse_string().


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