Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/python/BPy_UnaryPredicate0D.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 UnaryPredicate0D_Type; | extern PyTypeObject UnaryPredicate0D_Type; | ||||
| #define BPy_UnaryPredicate0D_Check(v) \ | #define BPy_UnaryPredicate0D_Check(v) \ | ||||
| (PyObject_IsInstance((PyObject *)v, (PyObject *)&UnaryPredicate0D_Type)) | (PyObject_IsInstance((PyObject *)v, (PyObject *)&UnaryPredicate0D_Type)) | ||||
| /*---------------------------Python BPy_UnaryPredicate0D structure definition----------*/ | /*---------------------------Python BPy_UnaryPredicate0D structure definition----------*/ | ||||
| typedef struct { | typedef struct { | ||||
| PyObject_HEAD UnaryPredicate0D *up0D; | PyObject_HEAD Freestyle::UnaryPredicate0D *up0D; | ||||
| } BPy_UnaryPredicate0D; | } BPy_UnaryPredicate0D; | ||||
| /*---------------------------Python BPy_UnaryPredicate0D visible prototypes-----------*/ | /*---------------------------Python BPy_UnaryPredicate0D visible prototypes-----------*/ | ||||
| int UnaryPredicate0D_Init(PyObject *module); | int UnaryPredicate0D_Init(PyObject *module); | ||||
| /////////////////////////////////////////////////////////////////////////////////////////// | /////////////////////////////////////////////////////////////////////////////////////////// | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||