Added enum to li_std_list tests

This commit is contained in:
Alan Woodland 2016-05-16 22:00:37 +01:00
commit 4a149f66fd

View file

@ -40,9 +40,17 @@ struct Struct {
Struct(double d) : num(d) {}
// bool operator==(const Struct &other) { return (num == other.num); }
};
enum Fruit {
APPLE,
BANANNA,
PEAR,
KIWI,
};
%}
%template(StructList) std::list<Struct>;
%template(StructPtrList) std::list<Struct*>;
%template(StructConstPtrList) std::list<const Struct *>;
%template(FruitList) std::list<Fruit>;