Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-05-23 16:10:31 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-05-23 16:10:31 +0400
commit2212564f1804e3cc866003b226eac89575d53ade (patch)
tree400e453e3995c849dde449236ab28a8e22c65692 /source/blender/freestyle/intern/python/UnaryFunction1D
parentff3c742211a96fc0c1267fc0cab502bb16cfdba8 (diff)
Fixed invalid use of PyUnicode_FromFormat() where PyUnicode_FromString()
should have been used.
Diffstat (limited to 'source/blender/freestyle/intern/python/UnaryFunction1D')
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp2
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DEdgeNature.cpp2
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp2
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DUnsigned.cpp2
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec2f.cpp2
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec3f.cpp2
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVectorViewShape.cpp2
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVoid.cpp2
8 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp
index 7721b35b2a8..ce9f28719f1 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp
@@ -169,7 +169,7 @@ static char UnaryFunction1DDouble_getName___doc__[] =
static PyObject * UnaryFunction1DDouble_getName( BPy_UnaryFunction1DDouble *self )
{
- return PyUnicode_FromFormat( self->uf1D_double->getName().c_str() );
+ return PyUnicode_FromString( self->uf1D_double->getName().c_str() );
}
static PyObject * UnaryFunction1DDouble___call__( BPy_UnaryFunction1DDouble *self, PyObject *args, PyObject *kwds)
diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DEdgeNature.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DEdgeNature.cpp
index 9cff857cdbe..08f78e2f83e 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DEdgeNature.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DEdgeNature.cpp
@@ -90,7 +90,7 @@ static char UnaryFunction1DEdgeNature_getName___doc__[] =
static PyObject * UnaryFunction1DEdgeNature_getName( BPy_UnaryFunction1DEdgeNature *self )
{
- return PyUnicode_FromFormat( self->uf1D_edgenature->getName().c_str() );
+ return PyUnicode_FromString( self->uf1D_edgenature->getName().c_str() );
}
static PyObject * UnaryFunction1DEdgeNature___call__( BPy_UnaryFunction1DEdgeNature *self, PyObject *args, PyObject *kwds)
diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp
index ff20ee6d7c4..f7086335038 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp
@@ -83,7 +83,7 @@ static char UnaryFunction1DFloat_getName___doc__[] =
static PyObject * UnaryFunction1DFloat_getName( BPy_UnaryFunction1DFloat *self )
{
- return PyUnicode_FromFormat( self->uf1D_float->getName().c_str() );
+ return PyUnicode_FromString( self->uf1D_float->getName().c_str() );
}
static PyObject * UnaryFunction1DFloat___call__( BPy_UnaryFunction1DFloat *self, PyObject *args, PyObject *kwds)
diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DUnsigned.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DUnsigned.cpp
index bbdfd8dc4f2..7cd37c25552 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DUnsigned.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DUnsigned.cpp
@@ -90,7 +90,7 @@ static char UnaryFunction1DUnsigned_getName___doc__[] =
static PyObject * UnaryFunction1DUnsigned_getName( BPy_UnaryFunction1DUnsigned *self )
{
- return PyUnicode_FromFormat( self->uf1D_unsigned->getName().c_str() );
+ return PyUnicode_FromString( self->uf1D_unsigned->getName().c_str() );
}
static PyObject * UnaryFunction1DUnsigned___call__( BPy_UnaryFunction1DUnsigned *self, PyObject *args, PyObject *kwds)
diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec2f.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec2f.cpp
index 1847c72bbeb..fd3e4c9ea91 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec2f.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec2f.cpp
@@ -96,7 +96,7 @@ static char UnaryFunction1DVec2f_getName___doc__[] =
static PyObject * UnaryFunction1DVec2f_getName( BPy_UnaryFunction1DVec2f *self )
{
- return PyUnicode_FromFormat( self->uf1D_vec2f->getName().c_str() );
+ return PyUnicode_FromString( self->uf1D_vec2f->getName().c_str() );
}
static PyObject * UnaryFunction1DVec2f___call__( BPy_UnaryFunction1DVec2f *self, PyObject *args, PyObject *kwds)
diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec3f.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec3f.cpp
index ae31fd5c9fd..55c8f3c7926 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec3f.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec3f.cpp
@@ -90,7 +90,7 @@ static char UnaryFunction1DVec3f_getName___doc__[] =
PyObject * UnaryFunction1DVec3f_getName( BPy_UnaryFunction1DVec3f *self )
{
- return PyUnicode_FromFormat( self->uf1D_vec3f->getName().c_str() );
+ return PyUnicode_FromString( self->uf1D_vec3f->getName().c_str() );
}
PyObject * UnaryFunction1DVec3f___call__( BPy_UnaryFunction1DVec3f *self, PyObject *args, PyObject *kwds)
diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVectorViewShape.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVectorViewShape.cpp
index 4a0787e24cc..6493bcb13fb 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVectorViewShape.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVectorViewShape.cpp
@@ -103,7 +103,7 @@ static char UnaryFunction1DVectorViewShape_getName___doc__[] =
static PyObject * UnaryFunction1DVectorViewShape_getName( BPy_UnaryFunction1DVectorViewShape *self )
{
- return PyUnicode_FromFormat( self->uf1D_vectorviewshape->getName().c_str() );
+ return PyUnicode_FromString( self->uf1D_vectorviewshape->getName().c_str() );
}
static PyObject * UnaryFunction1DVectorViewShape___call__( BPy_UnaryFunction1DVectorViewShape *self, PyObject *args, PyObject *kwds)
diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVoid.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVoid.cpp
index ddc75d34462..ceb20f512aa 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVoid.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVoid.cpp
@@ -103,7 +103,7 @@ static char UnaryFunction1DVoid_getName___doc__[] =
static PyObject * UnaryFunction1DVoid_getName( BPy_UnaryFunction1DVoid *self )
{
- return PyUnicode_FromFormat( self->uf1D_void->getName().c_str() );
+ return PyUnicode_FromString( self->uf1D_void->getName().c_str() );
}
static PyObject * UnaryFunction1DVoid___call__( BPy_UnaryFunction1DVoid *self, PyObject *args, PyObject *kwds)