From d124d3c5cdfdc9d470a4734281396b97c4d3afb5 Mon Sep 17 00:00:00 2001 From: Maxime Curioni Date: Sat, 12 Jul 2008 04:02:08 +0000 Subject: soc-2008-mxcurioni: first part of the Freestyle Python implementation. A new Freestyle module is added. The following modules are implemented: BinaryPredicate0D, BinaryPredicate1D, Id, Interface0D, Interface1D. I added a Convert module to help in the creation of Python objects for Freestyle's data structures. I also added a missing file for guarded_alloc needed for compilation on Windows. --- .../freestyle/intern/python/BinaryPredicate1D/FalseBP1D.cpp | 8 ++++---- .../freestyle/intern/python/BinaryPredicate1D/Length2DBP1D.cpp | 8 ++++---- .../freestyle/intern/python/BinaryPredicate1D/SameShapeIdBP1D.cpp | 8 ++++---- .../freestyle/intern/python/BinaryPredicate1D/TrueBP1D.cpp | 8 ++++---- .../intern/python/BinaryPredicate1D/ViewMapGradientNormBP1D.cpp | 6 +++--- 5 files changed, 19 insertions(+), 19 deletions(-) (limited to 'source/blender/freestyle/intern/python/BinaryPredicate1D') diff --git a/source/blender/freestyle/intern/python/BinaryPredicate1D/FalseBP1D.cpp b/source/blender/freestyle/intern/python/BinaryPredicate1D/FalseBP1D.cpp index 59946ce22e1..1f1a1ec840b 100644 --- a/source/blender/freestyle/intern/python/BinaryPredicate1D/FalseBP1D.cpp +++ b/source/blender/freestyle/intern/python/BinaryPredicate1D/FalseBP1D.cpp @@ -1,16 +1,16 @@ -SWIGINTERN PyObject *_wrap_FalseBP1D_getName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *_wrap_FalseBP1D_getName(PyObject *self , PyObject *args) { } -SWIGINTERN PyObject *_wrap_FalseBP1D___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *_wrap_FalseBP1D___call__(PyObject *self , PyObject *args) { } -SWIGINTERN PyObject *_wrap_new_FalseBP1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *_wrap_new_FalseBP1D(PyObject *self , PyObject *args) { } -SWIGINTERN PyObject *_wrap_delete_FalseBP1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *_wrap_delete_FalseBP1D(PyObject *self , PyObject *args) { } diff --git a/source/blender/freestyle/intern/python/BinaryPredicate1D/Length2DBP1D.cpp b/source/blender/freestyle/intern/python/BinaryPredicate1D/Length2DBP1D.cpp index a249a230b87..402e59c3f29 100644 --- a/source/blender/freestyle/intern/python/BinaryPredicate1D/Length2DBP1D.cpp +++ b/source/blender/freestyle/intern/python/BinaryPredicate1D/Length2DBP1D.cpp @@ -1,16 +1,16 @@ -SWIGINTERN PyObject *_wrap_Length2DBP1D_getName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *_wrap_Length2DBP1D_getName(PyObject *self , PyObject *args) { } -SWIGINTERN PyObject *_wrap_Length2DBP1D___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *_wrap_Length2DBP1D___call__(PyObject *self , PyObject *args) { } -SWIGINTERN PyObject *_wrap_new_Length2DBP1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *_wrap_new_Length2DBP1D(PyObject *self , PyObject *args) { } -SWIGINTERN PyObject *_wrap_delete_Length2DBP1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *_wrap_delete_Length2DBP1D(PyObject *self , PyObject *args) { } diff --git a/source/blender/freestyle/intern/python/BinaryPredicate1D/SameShapeIdBP1D.cpp b/source/blender/freestyle/intern/python/BinaryPredicate1D/SameShapeIdBP1D.cpp index d82c4166a09..d980750bb33 100644 --- a/source/blender/freestyle/intern/python/BinaryPredicate1D/SameShapeIdBP1D.cpp +++ b/source/blender/freestyle/intern/python/BinaryPredicate1D/SameShapeIdBP1D.cpp @@ -1,16 +1,16 @@ -SWIGINTERN PyObject *_wrap_SameShapeIdBP1D_getName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *_wrap_SameShapeIdBP1D_getName(PyObject *self , PyObject *args) { } -SWIGINTERN PyObject *_wrap_SameShapeIdBP1D___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *_wrap_SameShapeIdBP1D___call__(PyObject *self , PyObject *args) { } -SWIGINTERN PyObject *_wrap_new_SameShapeIdBP1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *_wrap_new_SameShapeIdBP1D(PyObject *self , PyObject *args) { } -SWIGINTERN PyObject *_wrap_delete_SameShapeIdBP1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *_wrap_delete_SameShapeIdBP1D(PyObject *self , PyObject *args) { } diff --git a/source/blender/freestyle/intern/python/BinaryPredicate1D/TrueBP1D.cpp b/source/blender/freestyle/intern/python/BinaryPredicate1D/TrueBP1D.cpp index b0e5825e0d6..2afd2e163ea 100644 --- a/source/blender/freestyle/intern/python/BinaryPredicate1D/TrueBP1D.cpp +++ b/source/blender/freestyle/intern/python/BinaryPredicate1D/TrueBP1D.cpp @@ -1,16 +1,16 @@ -SWIGINTERN PyObject *_wrap_TrueBP1D_getName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *_wrap_TrueBP1D_getName(PyObject *self , PyObject *args) { } -SWIGINTERN PyObject *_wrap_TrueBP1D___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *_wrap_TrueBP1D___call__(PyObject *self , PyObject *args) { } -SWIGINTERN PyObject *_wrap_new_TrueBP1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *_wrap_new_TrueBP1D(PyObject *self , PyObject *args) { } -SWIGINTERN PyObject *_wrap_delete_TrueBP1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *_wrap_delete_TrueBP1D(PyObject *self , PyObject *args) { } diff --git a/source/blender/freestyle/intern/python/BinaryPredicate1D/ViewMapGradientNormBP1D.cpp b/source/blender/freestyle/intern/python/BinaryPredicate1D/ViewMapGradientNormBP1D.cpp index 3bd22915831..873acd93149 100644 --- a/source/blender/freestyle/intern/python/BinaryPredicate1D/ViewMapGradientNormBP1D.cpp +++ b/source/blender/freestyle/intern/python/BinaryPredicate1D/ViewMapGradientNormBP1D.cpp @@ -1,12 +1,12 @@ -SWIGINTERN PyObject *_wrap_ViewMapGradientNormBP1D_getName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *_wrap_ViewMapGradientNormBP1D_getName(PyObject *self , PyObject *args) { } -SWIGINTERN PyObject *_wrap_ViewMapGradientNormBP1D___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *_wrap_ViewMapGradientNormBP1D___call__(PyObject *self , PyObject *args) { } -SWIGINTERN PyObject *_wrap_delete_ViewMapGradientNormBP1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *_wrap_delete_ViewMapGradientNormBP1D(PyObject *self , PyObject *args) { } -- cgit v1.2.3