Mercurial > fife-parpg
diff engine/swigwrappers/python/fife.i.templ @ 112:98541d3b9220
* add some std types to swig wrapper (fife.i.templ)
* remove the types in interfaces that used them
* add possibility to list video modes to engine settings class
author | spq@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sun, 27 Jul 2008 13:36:03 +0000 |
parents | 4a0efb7baf70 |
children | 10a5f9e6c03f |
line wrap: on
line diff
--- a/engine/swigwrappers/python/fife.i.templ Sat Jul 26 17:35:02 2008 +0000 +++ b/engine/swigwrappers/python/fife.i.templ Sun Jul 27 13:36:03 2008 +0000 @@ -1,6 +1,10 @@ %module(directors="1") fife %include "std_string.i" %include "std_vector.i" +%include "std_pair.i" +%include "std_list.i" +%include "std_map.i" +%include "std_set.i" %include "typemaps.i" %include "exception.i" @@ -27,6 +31,9 @@ %template(FloatVector) vector<float>; %template(DoubleVector) vector<double>; %template(BoolVector) vector<bool>; + + %template(UintUintPair) pair<unsigned int, unsigned int>; + %template(UintUintPairVector) vector<std::pair<unsigned int, unsigned int> >; }; %{