Blender
V4.3
source
blender
freestyle
intern
python
BPy_Iterator.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
9
#pragma once
10
11
extern
"C"
{
12
#include <Python.h>
13
}
14
15
#include "
../system/Iterator.h
"
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
22
23
extern
PyTypeObject
Iterator_Type
;
24
25
#define BPy_Iterator_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&Iterator_Type))
26
27
/*---------------------------Python BPy_Iterator structure definition----------*/
28
typedef
struct
{
29
PyObject_HEAD
30
Freestyle::Iterator
*
it
;
31
}
BPy_Iterator
;
32
33
/*---------------------------Python BPy_Iterator visible prototypes-----------*/
34
35
int
Iterator_Init
(PyObject *
module
);
36
38
39
#ifdef __cplusplus
40
}
41
#endif
Iterator_Type
PyTypeObject Iterator_Type
Definition
BPy_Iterator.cpp:219
Iterator_Init
int Iterator_Init(PyObject *module)
Definition
BPy_Iterator.cpp:32
Iterator.h
Freestyle::Iterator
Definition
Iterator.h:22
module
static struct PyModuleDef module
Definition
python.cpp:991
BPy_Iterator
Definition
BPy_Iterator.h:28
BPy_Iterator::it
PyObject_HEAD Freestyle::Iterator * it
Definition
BPy_Iterator.h:30
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0