Blender  V3.3
BPy_Operators.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/Operators.h"
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
20 
21 extern PyTypeObject Operators_Type;
22 
23 #define BPy_Operators_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&Operators_Type))
24 
25 /*---------------------------Python BPy_Operators structure definition----------*/
26 typedef struct {
27  PyObject_HEAD
29 
30 /*---------------------------Python BPy_Operators visible prototypes-----------*/
31 
32 int Operators_Init(PyObject *module);
33 
35 
36 #ifdef __cplusplus
37 }
38 #endif
int Operators_Init(PyObject *module)
PyTypeObject Operators_Type
static struct PyModuleDef module
Definition: python.cpp:972