diff --git a/bindings/python/openshot.i b/bindings/python/openshot.i index f01cef74..10cb8866 100644 --- a/bindings/python/openshot.i +++ b/bindings/python/openshot.i @@ -9,7 +9,7 @@ // // SPDX-License-Identifier: LGPL-3.0-or-later -%module openshot +%module("threads"=1) openshot /* Suppress warnings about ignored operator= */ %warnfilter(362); @@ -45,6 +45,7 @@ %template() std::map; %template() std::pair; %template() std::vector; +%template() std::vector; %template() std::pair; %template() std::pair; %template() std::pair; diff --git a/bindings/ruby/openshot.i b/bindings/ruby/openshot.i index cf3c4778..debeeec5 100644 --- a/bindings/ruby/openshot.i +++ b/bindings/ruby/openshot.i @@ -9,7 +9,7 @@ // // SPDX-License-Identifier: LGPL-3.0-or-later -%module openshot +%module("threads"=1) openshot /* Suppress warnings about ignored operator= */ %warnfilter(362); @@ -45,6 +45,7 @@ %template() std::map; %template() std::pair; %template() std::vector; +%template() std::vector; %template() std::pair; %template() std::pair; %template() std::pair;