diff options
author | Mike Romberg <mike-romberg@comcast.net> | 2016-06-04 14:07:50 -0600 |
---|---|---|
committer | Mike Romberg <mike-romberg@comcast.net> | 2016-06-04 14:07:50 -0600 |
commit | 0cc3c78abf6d3509ed723d07c667004f112d5098 (patch) | |
tree | 9f5c59100c47263ef735cc8f817bb919e3e05512 /Examples | |
parent | 906564d97c7d28039b412213dc418cd7c034d422 (diff) | |
download | swig-0cc3c78abf6d3509ed723d07c667004f112d5098.tar.gz |
Apply patch to cleanup whitespace from wsfulton
Diffstat (limited to 'Examples')
6 files changed, 14 insertions, 16 deletions
diff --git a/Examples/python/import_packages/Makefile b/Examples/python/import_packages/Makefile index d46e1e098..f428d6f5c 100644 --- a/Examples/python/import_packages/Makefile +++ b/Examples/python/import_packages/Makefile @@ -12,13 +12,13 @@ import_packages_subdirs = \ relativeimport2 \ relativeimport3 \ split_modules \ - namespace_pkg + namespace_pkg check: build if test "x$(SRCDIR)" != x; then \ for file in `cd $(SRCDIR) && find . -type f -name "*.py"`; do \ - mkdir -p `dirname $$file`; \ + mkdir -p `dirname $$file`; \ cp "${SRCDIR}$$file" "$$file" || exit 1; \ done; \ fi; \ diff --git a/Examples/python/import_packages/split_modules/README b/Examples/python/import_packages/split_modules/README index af568024f..6fb61d399 100644 --- a/Examples/python/import_packages/split_modules/README +++ b/Examples/python/import_packages/split_modules/README @@ -13,5 +13,3 @@ vanilla_split # python 1/2 in pkg1 C 1/2 in global namespace builtin # both halves in pkg1 (-builtin passed to swig) builtin # python 1/2 in pkg1 C 1/2 in global namespace (with -builtin) - All of the _nopy3 tests are the same as the above except swig will not -use -py3 for python3. diff --git a/Examples/python/import_packages/split_modules/builtin/pkg1/foo.i b/Examples/python/import_packages/split_modules/builtin/pkg1/foo.i index 00df2d009..60ce16ec3 100644 --- a/Examples/python/import_packages/split_modules/builtin/pkg1/foo.i +++ b/Examples/python/import_packages/split_modules/builtin/pkg1/foo.i @@ -1,9 +1,9 @@ %module(package="pkg1") foo %{ static unsigned count(void) - { - return 3; - } +{ + return 3; +} %} unsigned count(void); diff --git a/Examples/python/import_packages/split_modules/builtin_split/foo.i b/Examples/python/import_packages/split_modules/builtin_split/foo.i index 00df2d009..60ce16ec3 100644 --- a/Examples/python/import_packages/split_modules/builtin_split/foo.i +++ b/Examples/python/import_packages/split_modules/builtin_split/foo.i @@ -1,9 +1,9 @@ %module(package="pkg1") foo %{ static unsigned count(void) - { - return 3; - } +{ + return 3; +} %} unsigned count(void); diff --git a/Examples/python/import_packages/split_modules/vanilla/pkg1/foo.i b/Examples/python/import_packages/split_modules/vanilla/pkg1/foo.i index 00df2d009..60ce16ec3 100644 --- a/Examples/python/import_packages/split_modules/vanilla/pkg1/foo.i +++ b/Examples/python/import_packages/split_modules/vanilla/pkg1/foo.i @@ -1,9 +1,9 @@ %module(package="pkg1") foo %{ static unsigned count(void) - { - return 3; - } +{ + return 3; +} %} unsigned count(void); diff --git a/Examples/python/import_packages/split_modules/vanilla_split/foo.i b/Examples/python/import_packages/split_modules/vanilla_split/foo.i index 00df2d009..60ce16ec3 100644 --- a/Examples/python/import_packages/split_modules/vanilla_split/foo.i +++ b/Examples/python/import_packages/split_modules/vanilla_split/foo.i @@ -1,9 +1,9 @@ %module(package="pkg1") foo %{ static unsigned count(void) - { - return 3; - } +{ + return 3; +} %} unsigned count(void); |