diff --git a/bindings/python/openshot.i b/bindings/python/openshot.i index 09639e87d..5dd825a84 100644 --- a/bindings/python/openshot.i +++ b/bindings/python/openshot.i @@ -129,6 +129,8 @@ %template() std::map; %template() std::pair; %template() std::vector; +%template() std::pair; +%template() std::pair; /* Make openshot.Fraction more Pythonic */ %extend openshot::Fraction { diff --git a/bindings/ruby/openshot.i b/bindings/ruby/openshot.i index fe47f1bce..3e64af26d 100644 --- a/bindings/ruby/openshot.i +++ b/bindings/ruby/openshot.i @@ -57,6 +57,13 @@ %shared_ptr(juce::AudioSampleBuffer) %shared_ptr(openshot::Frame) +/* Template specializations */ +%template() std::map; +%template() std::pair; +%template() std::vector; +%template() std::pair; +%template() std::pair; + %{ /* Ruby and FFmpeg define competing RSHIFT macros, * so we move Ruby's out of the way for now. We'll