summaryrefslogtreecommitdiffstats
path: root/lib/kross/python/cxx/Extensions.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kross/python/cxx/Extensions.hxx')
-rw-r--r--lib/kross/python/cxx/Extensions.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kross/python/cxx/Extensions.hxx b/lib/kross/python/cxx/Extensions.hxx
index 69ce9a14..99889ec7 100644
--- a/lib/kross/python/cxx/Extensions.hxx
+++ b/lib/kross/python/cxx/Extensions.hxx
@@ -158,7 +158,7 @@ namespace Py
extern "C" void do_not_dealloc( void * );
- template<TEMPLATE_TYPENAME T>
+ template<typename T>
class ExtensionModule : public ExtensionModuleBase
{
public:
@@ -213,7 +213,7 @@ namespace Py
// so that we get called back at the function in T.
//
method_map_t &mm = methods();
- EXPLICIT_TYPENAME method_map_t::iterator i;
+ typename method_map_t::iterator i;
for( i=mm.begin(); i != mm.end(); ++i )
{
@@ -434,7 +434,7 @@ namespace Py
static PyObject *method_call_handler( PyObject *self, PyObject *args );
};
- template<TEMPLATE_TYPENAME T>
+ template<typename T>
class PythonExtension: public PythonExtensionBase
{
public:
@@ -548,7 +548,7 @@ namespace Py
{
List methods;
- for( EXPLICIT_TYPENAME method_map_t::iterator i = mm.begin(); i != mm.end(); ++i )
+ for( typename method_map_t::iterator i = mm.begin(); i != mm.end(); ++i )
methods.append( String( (*i).first ) );
return methods;
@@ -701,7 +701,7 @@ namespace Py
//
// ExtensionObject<T> is an Object that will accept only T's.
//
- template<TEMPLATE_TYPENAME T>
+ template<typename T>
class ExtensionObject: public Object
{
public: