Blender
V3.3
source
blender
freestyle
intern
python
BPy_SShape.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 "../view_map/Silhouette.h"
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
20
21
extern
PyTypeObject
SShape_Type
;
22
23
#define BPy_SShape_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&SShape_Type))
24
25
/*---------------------------Python BPy_SShape structure definition----------*/
26
typedef
struct
{
27
PyObject_HEAD
28
Freestyle::SShape
*
ss
;
29
bool
borrowed
;
/* true if *ss is a borrowed object */
30
}
BPy_SShape
;
31
32
/*---------------------------Python BPy_SShape visible prototypes-----------*/
33
34
int
SShape_Init
(PyObject *
module
);
35
37
38
#ifdef __cplusplus
39
}
40
#endif
SShape_Init
int SShape_Init(PyObject *module)
Definition:
BPy_SShape.cpp:24
SShape_Type
PyTypeObject SShape_Type
Definition:
BPy_SShape.cpp:267
Freestyle::SShape
Definition:
Silhouette.h:1404
module
static struct PyModuleDef module
Definition:
python.cpp:972
BPy_SShape
Definition:
BPy_SShape.h:26
BPy_SShape::ss
PyObject_HEAD Freestyle::SShape * ss
Definition:
BPy_SShape.h:28
BPy_SShape::borrowed
bool borrowed
Definition:
BPy_SShape.h:29
Generated on Sat Jul 27 2024 14:57:55 for Blender by
doxygen
1.9.1