diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2015-12-12 14:05:05 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2015-12-12 14:05:46 +0000 |
commit | 6b4e57245dcea7fb975aad8563bdbf5d9a786ce8 (patch) | |
tree | 484335f5668659f96b384dedecc2c0829123fca4 /Lib/perl5/std_list.i | |
parent | 625a405b8e42f944fdc1a87e36725f03b8817a85 (diff) | |
download | swig-6b4e57245dcea7fb975aad8563bdbf5d9a786ce8.tar.gz |
Fix STL wrappers to not generate <: digraphs.
For example std::vector<::X::Y> was sometimes generated, now
corrected to std::vector< ::X::Y >.
Diffstat (limited to 'Lib/perl5/std_list.i')
-rw-r--r-- | Lib/perl5/std_list.i | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/perl5/std_list.i b/Lib/perl5/std_list.i index 8248ca679..cd5a61120 100644 --- a/Lib/perl5/std_list.i +++ b/Lib/perl5/std_list.i @@ -106,7 +106,7 @@ namespace std { } } %typemap(out) list<T> { - std::list<T>::const_iterator i; + std::list< T >::const_iterator i; unsigned int j; int len = $1.size(); SV **svs = new SV*[len]; @@ -125,7 +125,7 @@ namespace std { %typecheck(SWIG_TYPECHECK_LIST) list<T> { { /* wrapped list? */ - std::list<T >* v; + std::list< T >* v; if (SWIG_ConvertPtr($input,(void **) &v, $1_&descriptor,0) != -1) { $1 = 1; @@ -158,7 +158,7 @@ namespace std { const list<T>* { { /* wrapped list? */ - std::list<T >* v; + std::list< T >* v; if (SWIG_ConvertPtr($input,(void **) &v, $1_descriptor,0) != -1) { $1 = 1; @@ -265,7 +265,7 @@ namespace std { } } %typemap(out) list<T> { - std::list<T>::const_iterator i; + std::list< T >::const_iterator i; unsigned int j; int len = $1.size(); SV **svs = new SV*[len]; @@ -282,7 +282,7 @@ namespace std { %typecheck(SWIG_TYPECHECK_LIST) list<T> { { /* wrapped list? */ - std::list<T >* v; + std::list< T >* v; if (SWIG_ConvertPtr($input,(void **) &v, $1_&descriptor,0) != -1) { $1 = 1; @@ -313,7 +313,7 @@ namespace std { const list<T>* { { /* wrapped list? */ - std::list<T >* v; + std::list< T >* v; if (SWIG_ConvertPtr($input,(void **) &v, $1_descriptor,0) != -1) { $1 = 1; |