Blender V5.3
py_capi_rna.cc File Reference
#include <Python.h>
#include "py_capi_rna.hh"
#include "BLI_bitmap.hh"
#include "BLI_dynstr.hh"
#include "RNA_access.hh"
#include "MEM_guardedalloc.h"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define PY_SSIZE_T_CLEAN

Functions

Enum Utilities
char * blender::pyrna_enum_repr (const EnumPropertyItem *item)
Enum Conversion Utilities
int blender::pyrna_enum_value_from_id (const EnumPropertyItem *item, const char *identifier, int *r_value, const char *error_prefix)
BLI_bitmap * blender::pyrna_enum_bitmap_from_set (const EnumPropertyItem *items, PyObject *value, int type_size, bool type_convert_sign, int bitmap_size, const char *error_prefix)
int blender::pyrna_enum_bitfield_from_set (const EnumPropertyItem *items, PyObject *value, int *r_value, const char *error_prefix)
PyObject * blender::pyrna_enum_bitfield_as_set (const EnumPropertyItem *items, int value)
Argument Parsing Helpers
int blender::pyrna_enum_value_parse_string (PyObject *o, void *p)
int blender::pyrna_enum_bitfield_parse_set (PyObject *o, void *p)

Detailed Description

Python/RNA utilities.

RNA functions that aren't part of the bpy_rna.cc API.

Definition in file py_capi_rna.cc.

Macro Definition Documentation

◆ PY_SSIZE_T_CLEAN

#define PY_SSIZE_T_CLEAN

Definition at line 14 of file py_capi_rna.cc.