Blender V4.3
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
11extern "C" {
12#include <Python.h>
13}
14
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
22
23extern PyTypeObject SShape_Type;
24
25#define BPy_SShape_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&SShape_Type))
26
27/*---------------------------Python BPy_SShape structure definition----------*/
28typedef struct {
29 PyObject_HEAD
31 bool borrowed; /* true if *ss is a borrowed object */
33
34/*---------------------------Python BPy_SShape visible prototypes-----------*/
35
36int SShape_Init(PyObject *module);
37
39
40#ifdef __cplusplus
41}
42#endif
int SShape_Init(PyObject *module)
PyTypeObject SShape_Type
Classes to define a silhouette structure.
static struct PyModuleDef module
Definition python.cpp:991
PyObject_HEAD Freestyle::SShape * ss
Definition BPy_SShape.h:30
bool borrowed
Definition BPy_SShape.h:31