Bindings: Add template specializations

This commit is contained in:
FeRD (Frank Dana)
2020-12-04 11:26:20 -05:00
parent d0a625c9f2
commit b280fbd082
2 changed files with 9 additions and 0 deletions

View File

@@ -129,6 +129,8 @@
%template() std::map<std::string, int>;
%template() std::pair<int, int>;
%template() std::vector<int>;
%template() std::pair<double, double>;
%template() std::pair<float, float>;
/* Make openshot.Fraction more Pythonic */
%extend openshot::Fraction {