Removed typedef from li_std_list test as it's not expected to work properly in templated code

This commit is contained in:
Alan Woodland 2016-05-31 14:51:37 +01:00
commit c78a005a29

View file

@ -14,12 +14,8 @@ namespace std {
%template(DoubleList) std::list<double>; %template(DoubleList) std::list<double>;
%inline %{
typedef float Real;
%}
namespace std { namespace std {
%template(RealList) list<Real>; %template(RealList) list<float>;
} }
%inline %{ %inline %{
@ -53,4 +49,4 @@ enum Fruit {
%template(StructPtrList) std::list<Struct*>; %template(StructPtrList) std::list<Struct*>;
%template(StructConstPtrList) std::list<const Struct *>; %template(StructConstPtrList) std::list<const Struct *>;
%template(FruitList) std::list<Fruit>; %template(FruitList) std::list<enum Fruit>;