Blender
V4.3
source
blender
freestyle
intern
python
BPy_SShape.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 "
../view_map/Silhouette.h
"
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
22
23
extern
PyTypeObject
SShape_Type
;
24
25
#define BPy_SShape_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&SShape_Type))
26
27
/*---------------------------Python BPy_SShape structure definition----------*/
28
typedef
struct
{
29
PyObject_HEAD
30
Freestyle::SShape
*
ss
;
31
bool
borrowed
;
/* true if *ss is a borrowed object */
32
}
BPy_SShape
;
33
34
/*---------------------------Python BPy_SShape visible prototypes-----------*/
35
36
int
SShape_Init
(PyObject *
module
);
37
39
40
#ifdef __cplusplus
41
}
42
#endif
SShape_Init
int SShape_Init(PyObject *module)
Definition
BPy_SShape.cpp:28
SShape_Type
PyTypeObject SShape_Type
Definition
BPy_SShape.cpp:285
Silhouette.h
Classes to define a silhouette structure.
Freestyle::SShape
Definition
Silhouette.h:1398
module
static struct PyModuleDef module
Definition
python.cpp:991
BPy_SShape
Definition
BPy_SShape.h:28
BPy_SShape::ss
PyObject_HEAD Freestyle::SShape * ss
Definition
BPy_SShape.h:30
BPy_SShape::borrowed
bool borrowed
Definition
BPy_SShape.h:31
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0