diff --git a/src/bindings/python/openshot.i b/src/bindings/python/openshot.i index 512224ef..732a1313 100644 --- a/src/bindings/python/openshot.i +++ b/src/bindings/python/openshot.i @@ -6,8 +6,8 @@ # # Copyright (c) 2008-2019 OpenShot Studios, LLC # . This file is part of -# OpenShot Library (libopenshot), an open-source project dedicated to -# delivering high quality video editing and animation solutions to the +# OpenShot Library (libopenshot), an open-source project dedicated to +# delivering high quality video editing and animation solutions to the # world. For more information visit . # # OpenShot Library (libopenshot) is free software: you can redistribute it @@ -30,6 +30,9 @@ /* Suppress warnings about ignored operator= */ %warnfilter(362); +/* Don't generate multiple wrappers for functions with default args */ +%feature("compactdefaultargs", "1"); + /* Enable inline documentation */ %feature("autodoc", "1"); diff --git a/src/bindings/ruby/openshot.i b/src/bindings/ruby/openshot.i index 1f3e0d99..872bbd55 100644 --- a/src/bindings/ruby/openshot.i +++ b/src/bindings/ruby/openshot.i @@ -6,8 +6,8 @@ # # Copyright (c) 2008-2019 OpenShot Studios, LLC # . This file is part of -# OpenShot Library (libopenshot), an open-source project dedicated to -# delivering high quality video editing and animation solutions to the +# OpenShot Library (libopenshot), an open-source project dedicated to +# delivering high quality video editing and animation solutions to the # world. For more information visit . # # OpenShot Library (libopenshot) is free software: you can redistribute it @@ -30,6 +30,9 @@ /* Suppress warnings about ignored operator= */ %warnfilter(362); +/* Don't generate multiple wrappers for functions with default args */ +%feature("compactdefaultargs", "1"); + /* Enable inline documentation */ %feature("autodoc", "1");