Blender  V3.3
BPy_BinaryPredicate1D.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/Predicates1D.h"
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
20 
21 extern PyTypeObject BinaryPredicate1D_Type;
22 
23 #define BPy_BinaryPredicate1D_Check(v) \
24  (PyObject_IsInstance((PyObject *)v, (PyObject *)&BinaryPredicate1D_Type))
25 
26 /*---------------------------Python BPy_BinaryPredicate1D structure definition----------*/
27 typedef struct {
28  PyObject_HEAD
31 
32 /*---------------------------Python BPy_BinaryPredicate1D visible prototypes-----------*/
33 
34 int BinaryPredicate1D_Init(PyObject *module);
35 
37 
38 #ifdef __cplusplus
39 }
40 #endif
int BinaryPredicate1D_Init(PyObject *module)
PyTypeObject BinaryPredicate1D_Type
static struct PyModuleDef module
Definition: python.cpp:972
PyObject_HEAD Freestyle::BinaryPredicate1D * bp1D