aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-01-14 21:58:33 -0200
committerHugo Lima <hugo.lima@openbossa.org>2010-01-14 21:58:33 -0200
commitff5d72bd2d994050823382d1f884c62e41824eb3 (patch)
tree81c4f7dd9f2af7f3db12d381d18e921dcd34db22 /libshiboken
parent310154f1e794177b6ae1bb2b4d06be548ba55c7e (diff)
Added template specialization SbkType<signed char>(), needed by someone.
Diffstat (limited to 'libshiboken')
-rw-r--r--libshiboken/conversions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libshiboken/conversions.h b/libshiboken/conversions.h
index e3b2ac34b..97f07cc5e 100644
--- a/libshiboken/conversions.h
+++ b/libshiboken/conversions.h
@@ -69,6 +69,7 @@ template<> inline PyTypeObject* SbkType<bool>() { return &PyBool_Type; }
template<> inline PyTypeObject* SbkType<float>() { return &PyFloat_Type; }
template<> inline PyTypeObject* SbkType<double>() { return &PyFloat_Type; }
template<> inline PyTypeObject* SbkType<char>() { return &PyInt_Type; }
+template<> inline PyTypeObject* SbkType<signed char>() { return &PyInt_Type; }
template<> inline PyTypeObject* SbkType<unsigned char>() { return &PyInt_Type; }
/**