Blender
V5.0
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
8
9
#pragma once
10
11
extern
"C"
{
12
#include <Python.h>
13
}
14
15
#include "
../system/Iterator.h
"
16
18
19
extern
PyTypeObject
Iterator_Type
;
20
21
#define BPy_Iterator_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&Iterator_Type))
22
23
/*---------------------------Python BPy_Iterator structure definition----------*/
24
typedef
struct
{
25
PyObject_HEAD
26
Freestyle::Iterator
*
it
;
27
}
BPy_Iterator
;
28
29
/*---------------------------Python BPy_Iterator visible prototypes-----------*/
30
31
int
Iterator_Init
(PyObject *
module
);
32
Iterator_Type
PyTypeObject Iterator_Type
Definition
BPy_Iterator.cpp:227
Iterator_Init
int Iterator_Init(PyObject *module)
Definition
BPy_Iterator.cpp:28
Iterator.h
Freestyle::Iterator
Definition
Iterator.h:20
module
static struct PyModuleDef module
Definition
python.cpp:796
BPy_Iterator
Definition
BPy_Iterator.h:24
BPy_Iterator::it
PyObject_HEAD Freestyle::Iterator * it
Definition
BPy_Iterator.h:26
Generated on
for Blender by
doxygen
1.16.1