Blender V5.0
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
8
9#pragma once
10
11extern "C" {
12#include <Python.h>
13}
14
16
18
19extern PyTypeObject SShape_Type;
20
21#define BPy_SShape_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&SShape_Type))
22
23/*---------------------------Python BPy_SShape structure definition----------*/
24typedef struct {
25 PyObject_HEAD
27 bool borrowed; /* true if *ss is a borrowed object */
29
30/*---------------------------Python BPy_SShape visible prototypes-----------*/
31
32int SShape_Init(PyObject *module);
33
PyTypeObject SShape_Type
int SShape_Init(PyObject *module)
Classes to define a silhouette structure.
static struct PyModuleDef module
Definition python.cpp:796
PyObject_HEAD Freestyle::SShape * ss
Definition BPy_SShape.h:26
bool borrowed
Definition BPy_SShape.h:27