Blender
V3.3
source
blender
freestyle
intern
python
BPy_Id.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
7
#pragma once
8
9
extern
"C"
{
10
#include <Python.h>
11
}
12
13
#include <iostream>
14
15
#include "../system/Id.h"
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
22
23
extern
PyTypeObject
Id_Type
;
24
25
#define BPy_Id_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&Id_Type))
26
27
/*---------------------------Python BPy_Id structure definition----------*/
28
typedef
struct
{
29
PyObject_HEAD
30
Freestyle::Id
*
id
;
31
}
BPy_Id
;
32
33
/*---------------------------Python BPy_Id visible prototypes-----------*/
34
35
int
Id_Init
(PyObject *
module
);
36
38
39
#ifdef __cplusplus
40
}
41
#endif
Id_Type
PyTypeObject Id_Type
Definition:
BPy_Id.cpp:157
Id_Init
int Id_Init(PyObject *module)
Definition:
BPy_Id.cpp:20
Freestyle::Id
Definition:
Id.h:19
module
static struct PyModuleDef module
Definition:
python.cpp:972
BPy_Id
Definition:
BPy_Id.h:28
BPy_Id::id
PyObject_HEAD Freestyle::Id * id
Definition:
BPy_Id.h:30
Generated on Tue Oct 22 2024 13:18:25 for Blender by
doxygen
1.9.1