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