diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-02-24 06:32:56 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-02-24 06:32:56 +0400 |
commit | d38a335d47f1632000db5172877499ff0184d114 (patch) | |
tree | 296dceec7d9a82057f0b7cd7ce33de6771dc8906 /source/blender/freestyle/intern/python/UnaryFunction0D | |
parent | 3bd0b8971615d6ddc309aa33a40f7ebf0c25b0c6 (diff) |
Code clean-up and fix for typos in docstrings.
Diffstat (limited to 'source/blender/freestyle/intern/python/UnaryFunction0D')
10 files changed, 33 insertions, 33 deletions
diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp index 3a2a7ed7ca3..586f0cdd15a 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp @@ -64,52 +64,52 @@ int UnaryFunction0DDouble_Init(PyObject *module) return -1; Py_INCREF(&UnaryFunction0DDouble_Type); PyModule_AddObject(module, "UnaryFunction0DDouble", (PyObject *)&UnaryFunction0DDouble_Type); - + if (PyType_Ready(&DensityF0D_Type) < 0) return -1; Py_INCREF(&DensityF0D_Type); PyModule_AddObject(module, "DensityF0D", (PyObject *)&DensityF0D_Type); - + if (PyType_Ready(&LocalAverageDepthF0D_Type) < 0) return -1; Py_INCREF(&LocalAverageDepthF0D_Type); PyModule_AddObject(module, "LocalAverageDepthF0D", (PyObject *)&LocalAverageDepthF0D_Type); - + if (PyType_Ready(&Curvature2DAngleF0D_Type) < 0) return -1; Py_INCREF(&Curvature2DAngleF0D_Type); PyModule_AddObject(module, "Curvature2DAngleF0D", (PyObject *)&Curvature2DAngleF0D_Type); - + if (PyType_Ready(&GetProjectedXF0D_Type) < 0) return -1; Py_INCREF(&GetProjectedXF0D_Type); PyModule_AddObject(module, "GetProjectedXF0D", (PyObject *)&GetProjectedXF0D_Type); - + if (PyType_Ready(&GetProjectedYF0D_Type) < 0) return -1; Py_INCREF(&GetProjectedYF0D_Type); PyModule_AddObject(module, "GetProjectedYF0D", (PyObject *)&GetProjectedYF0D_Type); - + if (PyType_Ready(&GetProjectedZF0D_Type) < 0) return -1; Py_INCREF(&GetProjectedZF0D_Type); PyModule_AddObject(module, "GetProjectedZF0D", (PyObject *)&GetProjectedZF0D_Type); - + if (PyType_Ready(&GetXF0D_Type) < 0) return -1; Py_INCREF(&GetXF0D_Type); PyModule_AddObject(module, "GetXF0D", (PyObject *)&GetXF0D_Type); - + if (PyType_Ready(&GetYF0D_Type) < 0) return -1; Py_INCREF(&GetYF0D_Type); PyModule_AddObject(module, "GetYF0D", (PyObject *)&GetYF0D_Type); - + if (PyType_Ready(&GetZF0D_Type) < 0) return -1; Py_INCREF(&GetZF0D_Type); PyModule_AddObject(module, "GetZF0D", (PyObject *)&GetZF0D_Type); - + if (PyType_Ready(&ZDiscontinuityF0D_Type) < 0) return -1; Py_INCREF(&ZDiscontinuityF0D_Type); diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DEdgeNature.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DEdgeNature.cpp index 7c99f3dcc8c..ccd785a1aa7 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DEdgeNature.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DEdgeNature.cpp @@ -53,7 +53,7 @@ int UnaryFunction0DEdgeNature_Init(PyObject *module) return -1; Py_INCREF(&UnaryFunction0DEdgeNature_Type); PyModule_AddObject(module, "UnaryFunction0DEdgeNature", (PyObject *)&UnaryFunction0DEdgeNature_Type); - + if (PyType_Ready(&CurveNatureF0D_Type) < 0) return -1; Py_INCREF(&CurveNatureF0D_Type); diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp index 7e80df8aa9a..fd80304e8ef 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp @@ -58,32 +58,32 @@ int UnaryFunction0DFloat_Init(PyObject *module) return -1; Py_INCREF(&UnaryFunction0DFloat_Type); PyModule_AddObject(module, "UnaryFunction0DFloat", (PyObject *)&UnaryFunction0DFloat_Type); - + if (PyType_Ready(&GetCurvilinearAbscissaF0D_Type) < 0) return -1; Py_INCREF(&GetCurvilinearAbscissaF0D_Type); PyModule_AddObject(module, "GetCurvilinearAbscissaF0D", (PyObject *)&GetCurvilinearAbscissaF0D_Type); - + if (PyType_Ready(&GetParameterF0D_Type) < 0) return -1; Py_INCREF(&GetParameterF0D_Type); PyModule_AddObject(module, "GetParameterF0D", (PyObject *)&GetParameterF0D_Type); - + if (PyType_Ready(&GetViewMapGradientNormF0D_Type) < 0) return -1; Py_INCREF(&GetViewMapGradientNormF0D_Type); PyModule_AddObject(module, "GetViewMapGradientNormF0D", (PyObject *)&GetViewMapGradientNormF0D_Type); - + if (PyType_Ready(&ReadCompleteViewMapPixelF0D_Type) < 0) return -1; Py_INCREF(&ReadCompleteViewMapPixelF0D_Type); PyModule_AddObject(module, "ReadCompleteViewMapPixelF0D", (PyObject *)&ReadCompleteViewMapPixelF0D_Type); - + if (PyType_Ready(&ReadMapPixelF0D_Type) < 0) return -1; Py_INCREF(&ReadMapPixelF0D_Type); PyModule_AddObject(module, "ReadMapPixelF0D", (PyObject *)&ReadMapPixelF0D_Type); - + if (PyType_Ready(&ReadSteerableViewMapPixelF0D_Type) < 0) return -1; Py_INCREF(&ReadSteerableViewMapPixelF0D_Type); diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DId.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DId.cpp index b4aa3917e9a..193f6d82acd 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DId.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DId.cpp @@ -53,7 +53,7 @@ int UnaryFunction0DId_Init(PyObject *module) return -1; Py_INCREF(&UnaryFunction0DId_Type); PyModule_AddObject(module, "UnaryFunction0DId", (PyObject *)&UnaryFunction0DId_Type); - + if (PyType_Ready(&ShapeIdF0D_Type) < 0) return -1; Py_INCREF(&ShapeIdF0D_Type); diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp index c1f6722de32..dfef5385030 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp @@ -53,7 +53,7 @@ int UnaryFunction0DMaterial_Init(PyObject *module) return -1; Py_INCREF(&UnaryFunction0DMaterial_Type); PyModule_AddObject(module, "UnaryFunction0DMaterial", (PyObject *)&UnaryFunction0DMaterial_Type); - + if (PyType_Ready(&MaterialF0D_Type) < 0) return -1; Py_INCREF(&MaterialF0D_Type); diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp index 0d519573528..b409df84188 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp @@ -53,7 +53,7 @@ int UnaryFunction0DUnsigned_Init(PyObject *module) return -1; Py_INCREF(&UnaryFunction0DUnsigned_Type); PyModule_AddObject(module, "UnaryFunction0DUnsigned", (PyObject *)&UnaryFunction0DUnsigned_Type); - + if (PyType_Ready(&QuantitativeInvisibilityF0D_Type) < 0) return -1; Py_INCREF(&QuantitativeInvisibilityF0D_Type); diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec2f.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec2f.cpp index 27724185ce7..d3d1e78b331 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec2f.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec2f.cpp @@ -45,8 +45,8 @@ extern "C" { //-------------------MODULE INITIALIZATION-------------------------------- -int UnaryFunction0DVec2f_Init(PyObject *module) { - +int UnaryFunction0DVec2f_Init(PyObject *module) +{ if (module == NULL) return -1; @@ -54,12 +54,12 @@ int UnaryFunction0DVec2f_Init(PyObject *module) { return -1; Py_INCREF(&UnaryFunction0DVec2f_Type); PyModule_AddObject(module, "UnaryFunction0DVec2f", (PyObject *)&UnaryFunction0DVec2f_Type); - + if (PyType_Ready(&Normal2DF0D_Type) < 0) return -1; Py_INCREF(&Normal2DF0D_Type); PyModule_AddObject(module, "Normal2DF0D", (PyObject *)&Normal2DF0D_Type); - + if (PyType_Ready(&VertexOrientation2DF0D_Type) < 0) return -1; Py_INCREF(&VertexOrientation2DF0D_Type); diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec3f.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec3f.cpp index a01a09581fa..4923e607d31 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec3f.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec3f.cpp @@ -44,8 +44,8 @@ extern "C" { //-------------------MODULE INITIALIZATION-------------------------------- -int UnaryFunction0DVec3f_Init(PyObject *module) { - +int UnaryFunction0DVec3f_Init(PyObject *module) +{ if (module == NULL) return -1; @@ -53,7 +53,7 @@ int UnaryFunction0DVec3f_Init(PyObject *module) { return -1; Py_INCREF(&UnaryFunction0DVec3f_Type); PyModule_AddObject(module, "UnaryFunction0DVec3f", (PyObject *)&UnaryFunction0DVec3f_Type); - + if (PyType_Ready(&VertexOrientation3DF0D_Type) < 0) return -1; Py_INCREF(&VertexOrientation3DF0D_Type); diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp index fcb90da01dc..253ae744250 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp @@ -44,8 +44,8 @@ extern "C" { //-------------------MODULE INITIALIZATION-------------------------------- -int UnaryFunction0DVectorViewShape_Init(PyObject *module) { - +int UnaryFunction0DVectorViewShape_Init(PyObject *module) +{ if (module == NULL) return -1; @@ -53,7 +53,7 @@ int UnaryFunction0DVectorViewShape_Init(PyObject *module) { return -1; Py_INCREF(&UnaryFunction0DVectorViewShape_Type); PyModule_AddObject(module, "UnaryFunction0DVectorViewShape", (PyObject *)&UnaryFunction0DVectorViewShape_Type); - + if (PyType_Ready(&GetOccludersF0D_Type) < 0) return -1; Py_INCREF(&GetOccludersF0D_Type); diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp index 13e11e40680..ec57e3f7c09 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp @@ -45,8 +45,8 @@ extern "C" { //-------------------MODULE INITIALIZATION-------------------------------- -int UnaryFunction0DViewShape_Init(PyObject *module) { - +int UnaryFunction0DViewShape_Init(PyObject *module) +{ if (module == NULL) return -1; @@ -59,7 +59,7 @@ int UnaryFunction0DViewShape_Init(PyObject *module) { return -1; Py_INCREF(&GetOccludeeF0D_Type); PyModule_AddObject(module, "GetOccludeeF0D", (PyObject *)&GetOccludeeF0D_Type); - + if (PyType_Ready(&GetShapeF0D_Type) < 0) return -1; Py_INCREF(&GetShapeF0D_Type); |