Blender
V4.3
source
blender
freestyle
intern
python
BPy_Id.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 <iostream>
16
17
#include "
../system/Id.h
"
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
24
25
extern
PyTypeObject
Id_Type
;
26
27
#define BPy_Id_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&Id_Type))
28
29
/*---------------------------Python BPy_Id structure definition----------*/
30
typedef
struct
{
31
PyObject_HEAD
32
Freestyle::Id
*
id
;
33
}
BPy_Id
;
34
35
/*---------------------------Python BPy_Id visible prototypes-----------*/
36
37
int
Id_Init
(PyObject *
module
);
38
40
41
#ifdef __cplusplus
42
}
43
#endif
Id_Type
PyTypeObject Id_Type
Definition
BPy_Id.cpp:164
Id_Init
int Id_Init(PyObject *module)
Definition
BPy_Id.cpp:22
Id.h
Identification system.
Freestyle::Id
Definition
Id.h:21
module
static struct PyModuleDef module
Definition
python.cpp:991
BPy_Id
Definition
BPy_Id.h:30
BPy_Id::id
PyObject_HEAD Freestyle::Id * id
Definition
BPy_Id.h:32
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0