Upstream version 1.3.40
[profile/ivi/swig.git] / Lib / python / pyabc.i
1 %define %pythonabc(Type, Abc)
2   %feature("python:abc", #Abc) Type;
3 %enddef
4 %pythoncode {import collections};
5 %pythonabc(std::vector, collections.MutableSequence);
6 %pythonabc(std::list, collections.MutableSequence);
7 %pythonabc(std::map, collections.MutableMapping);
8 %pythonabc(std::multimap, collections.MutableMapping);
9 %pythonabc(std::set, collections.MutableSet);
10 %pythonabc(std::multiset, collections.MutableSet);