update swig on windows
This commit is contained in:
10
winx64/bin/swigwin-4.0.0/Lib/python/pyabc.i
Normal file
10
winx64/bin/swigwin-4.0.0/Lib/python/pyabc.i
Normal file
@@ -0,0 +1,10 @@
|
||||
%define %pythonabc(Type, Abc)
|
||||
%feature("python:abc", #Abc) Type;
|
||||
%enddef
|
||||
%pythoncode %{import collections.abc%}
|
||||
%pythonabc(std::vector, collections.abc.MutableSequence);
|
||||
%pythonabc(std::list, collections.abc.MutableSequence);
|
||||
%pythonabc(std::map, collections.abc.MutableMapping);
|
||||
%pythonabc(std::multimap, collections.abc.MutableMapping);
|
||||
%pythonabc(std::set, collections.abc.MutableSet);
|
||||
%pythonabc(std::multiset, collections.abc.MutableSet);
|
||||
Reference in New Issue
Block a user