Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.h
| Show All 20 Lines | |||||
| #pragma once | #pragma once | ||||
| extern "C" { | extern "C" { | ||||
| #include <Python.h> | #include <Python.h> | ||||
| } | } | ||||
| #include "../stroke/Predicates0D.h" | #include "../stroke/Predicates0D.h" | ||||
| using namespace Freestyle; | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| /////////////////////////////////////////////////////////////////////////////////////////// | /////////////////////////////////////////////////////////////////////////////////////////// | ||||
| extern PyTypeObject BinaryPredicate0D_Type; | extern PyTypeObject BinaryPredicate0D_Type; | ||||
| #define BPy_BinaryPredicate0D_Check(v) \ | #define BPy_BinaryPredicate0D_Check(v) \ | ||||
| (PyObject_IsInstance((PyObject *)v, (PyObject *)&BinaryPredicate0D_Type)) | (PyObject_IsInstance((PyObject *)v, (PyObject *)&BinaryPredicate0D_Type)) | ||||
| /*---------------------------Python BPy_BinaryPredicate0D structure definition----------*/ | /*---------------------------Python BPy_BinaryPredicate0D structure definition----------*/ | ||||
| typedef struct { | typedef struct { | ||||
| PyObject_HEAD BinaryPredicate0D *bp0D; | PyObject_HEAD Freestyle::BinaryPredicate0D *bp0D; | ||||
| } BPy_BinaryPredicate0D; | } BPy_BinaryPredicate0D; | ||||
| /*---------------------------Python BPy_BinaryPredicate0D visible prototypes-----------*/ | /*---------------------------Python BPy_BinaryPredicate0D visible prototypes-----------*/ | ||||
| int BinaryPredicate0D_Init(PyObject *module); | int BinaryPredicate0D_Init(PyObject *module); | ||||
| /////////////////////////////////////////////////////////////////////////////////////////// | /////////////////////////////////////////////////////////////////////////////////////////// | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||