summaryrefslogtreecommitdiffstats
path: root/libshiboken/conversions.h
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-03-15 15:42:33 -0300
committerHugo Lima <hugo.lima@openbossa.org>2010-03-18 19:45:07 -0300
commit59c0dc6bd2a86207d5f500d767bea98c8c16d3e9 (patch)
tree25c888e878037b6ac4b0debd3396dc19628a6e27 /libshiboken/conversions.h
parentdc8dcf70f06304105d9a4e6467d98a266dbfe78f (diff)
downloadshiboken-59c0dc6bd2a86207d5f500d767bea98c8c16d3e9.tar.gz
shiboken-59c0dc6bd2a86207d5f500d767bea98c8c16d3e9.tar.xz
shiboken-59c0dc6bd2a86207d5f500d767bea98c8c16d3e9.zip
Renamed templates used for conversions of containers.
Diffstat (limited to 'libshiboken/conversions.h')
-rw-r--r--libshiboken/conversions.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libshiboken/conversions.h b/libshiboken/conversions.h
index 0b94b328..c9fe46e8 100644
--- a/libshiboken/conversions.h
+++ b/libshiboken/conversions.h
@@ -492,14 +492,14 @@ template <> struct Converter<const char*> : Converter_CString<const char*> {};
// that are similar to the STL containers of the same name.
// For example to create a converter for a std::list the following code is enough:
-// template<typename T> struct Converter<std::list<T> > : Converter_std_list<std::list<T> > {};
+// template<typename T> struct Converter<std::list<T> > : StdListConverter<std::list<T> > {};
// And this for a std::map:
// template<typename KT, typename VT>
-// struct Converter<std::map<KT, VT> > : Converter_std_map<std::map<KT, VT> > {};
+// struct Converter<std::map<KT, VT> > : StdMapConverter<std::map<KT, VT> > {};
template <typename StdList>
-struct Converter_std_list
+struct StdListConverter
{
static inline bool isConvertible(PyObject* pyObj)
{
@@ -536,7 +536,7 @@ struct Converter_std_list
};
template <typename StdPair>
-struct Converter_std_pair
+struct StdPairConverter
{
static inline bool isConvertible(PyObject* pyObj)
{
@@ -575,7 +575,7 @@ struct Converter_std_pair
};
template <typename StdMap>
-struct Converter_std_map
+struct StdMapConverter
{
static inline bool isConvertible(PyObject* pyObj)
{