Blender  V3.3
BPy_MediumType.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 "../stroke/Stroke.h"
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
20 
21 extern PyTypeObject MediumType_Type;
22 
23 #define BPy_MediumType_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&MediumType_Type))
24 
25 /*---------------------------Python BPy_MediumType structure definition----------*/
26 typedef struct {
27  PyLongObject i;
29 
30 /*---------------------------Python BPy_MediumType visible prototypes-----------*/
31 
32 int MediumType_Init(PyObject *module);
33 
34 // internal constants
35 extern PyLongObject _BPy_MediumType_DRY_MEDIUM;
36 extern PyLongObject _BPy_MediumType_HUMID_MEDIUM;
37 extern PyLongObject _BPy_MediumType_OPAQUE_MEDIUM;
38 // public constants
39 #define BPy_MediumType_DRY_MEDIUM ((PyObject *)&_BPy_MediumType_DRY_MEDIUM)
40 #define BPy_MediumType_HUMID_MEDIUM ((PyObject *)&_BPy_MediumType_HUMID_MEDIUM)
41 #define BPy_MediumType_OPAQUE_MEDIUM ((PyObject *)&_BPy_MediumType_OPAQUE_MEDIUM)
42 
44 
45 #ifdef __cplusplus
46 }
47 #endif
PyLongObject _BPy_MediumType_DRY_MEDIUM
int MediumType_Init(PyObject *module)
PyLongObject _BPy_MediumType_OPAQUE_MEDIUM
PyTypeObject MediumType_Type
PyLongObject _BPy_MediumType_HUMID_MEDIUM
static struct PyModuleDef module
Definition: python.cpp:972
PyLongObject i