Blender V5.0
BPy_MediumType.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
15#include "../stroke/Stroke.h"
16
18
19extern PyTypeObject MediumType_Type;
20
21#define BPy_MediumType_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&MediumType_Type))
22
23/*---------------------------Python BPy_MediumType structure definition----------*/
24typedef struct {
25 PyLongObject i;
27
28/*---------------------------Python BPy_MediumType visible prototypes-----------*/
29
30int MediumType_Init(PyObject *module);
31
PyTypeObject MediumType_Type
int MediumType_Init(PyObject *module)
Classes to define a stroke.
static struct PyModuleDef module
Definition python.cpp:796
PyLongObject i