Skip to content

Commit 1af92af

Browse files
committed
SWIG: Use compactdefaultargs in bindings
1 parent 81efce7 commit 1af92af

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

src/bindings/python/openshot.i

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
#
77
# Copyright (c) 2008-2019 OpenShot Studios, LLC
88
# <http://www.openshotstudios.com/>. This file is part of
9-
# OpenShot Library (libopenshot), an open-source project dedicated to
10-
# delivering high quality video editing and animation solutions to the
9+
# OpenShot Library (libopenshot), an open-source project dedicated to
10+
# delivering high quality video editing and animation solutions to the
1111
# world. For more information visit <http://www.openshot.org/>.
1212
#
1313
# OpenShot Library (libopenshot) is free software: you can redistribute it
@@ -30,6 +30,9 @@
3030
/* Suppress warnings about ignored operator= */
3131
%warnfilter(362);
3232

33+
/* Don't generate multiple wrappers for functions with default args */
34+
%feature("compactdefaultargs", "1");
35+
3336
/* Enable inline documentation */
3437
%feature("autodoc", "1");
3538

src/bindings/ruby/openshot.i

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
#
77
# Copyright (c) 2008-2019 OpenShot Studios, LLC
88
# <http://www.openshotstudios.com/>. This file is part of
9-
# OpenShot Library (libopenshot), an open-source project dedicated to
10-
# delivering high quality video editing and animation solutions to the
9+
# OpenShot Library (libopenshot), an open-source project dedicated to
10+
# delivering high quality video editing and animation solutions to the
1111
# world. For more information visit <http://www.openshot.org/>.
1212
#
1313
# OpenShot Library (libopenshot) is free software: you can redistribute it
@@ -30,6 +30,9 @@
3030
/* Suppress warnings about ignored operator= */
3131
%warnfilter(362);
3232

33+
/* Don't generate multiple wrappers for functions with default args */
34+
%feature("compactdefaultargs", "1");
35+
3336
/* Enable inline documentation */
3437
%feature("autodoc", "1");
3538

0 commit comments

Comments
 (0)