@@ -40,49 +40,49 @@ class str : public object
4040 BOOST_PYTHON_DECL long count (object_cref sub, object_cref start) const ;
4141
4242 template <class T1 , class T2 >
43- str count (T1 const & sub,T2 const & start) const
43+ long count (T1 const & sub,T2 const & start) const
4444 {
4545 return this ->count (object (sub), object (start));
4646 }
4747
4848 BOOST_PYTHON_DECL long count (object_cref sub, object_cref start, object_cref end) const ;
4949
5050 template <class T1 , class T2 , class T3 >
51- str count (T1 const & sub,T2 const & start, T3 const & end) const
51+ long count (T1 const & sub,T2 const & start, T3 const & end) const
5252 {
5353 return this ->count (object (sub), object (start));
5454 }
5555
56- BOOST_PYTHON_DECL str decode () const ;
57- BOOST_PYTHON_DECL str decode (object_cref encoding) const ;
56+ BOOST_PYTHON_DECL object decode () const ;
57+ BOOST_PYTHON_DECL object decode (object_cref encoding) const ;
5858
5959 template <class T >
60- str decode (T const & encoding) const
60+ object decode (T const & encoding) const
6161 {
6262 return this ->decode (object (encoding));
6363 }
6464
65- BOOST_PYTHON_DECL str decode (object_cref encoding, object_cref errors) const ;
65+ BOOST_PYTHON_DECL object decode (object_cref encoding, object_cref errors) const ;
6666
6767 template <class T1 , class T2 >
68- str decode (T1 const & encoding, T2 const & errors) const
68+ object decode (T1 const & encoding, T2 const & errors) const
6969 {
7070 return this ->decode (object (encoding),object (errors));
7171 }
7272
73- BOOST_PYTHON_DECL str encode () const ;
74- BOOST_PYTHON_DECL str encode (object_cref encoding) const ;
73+ BOOST_PYTHON_DECL object encode () const ;
74+ BOOST_PYTHON_DECL object encode (object_cref encoding) const ;
7575
7676 template <class T >
77- str encode (T const & encoding) const
77+ object encode (T const & encoding) const
7878 {
7979 return this ->encode (object (encoding));
8080 }
8181
82- BOOST_PYTHON_DECL str encode (object_cref encoding, object_cref errors) const ;
82+ BOOST_PYTHON_DECL object encode (object_cref encoding, object_cref errors) const ;
8383
8484 template <class T1 , class T2 >
85- str encode (T1 const & encoding, T2 const & errors) const
85+ object encode (T1 const & encoding, T2 const & errors) const
8686 {
8787 return this ->encode (object (encoding),object (errors));
8888 }
0 commit comments