From 23ce449ea516cf77cd4966314bffded32b5de2ea Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Mon, 22 Oct 2018 23:25:42 +0100 Subject: [PATCH] Remove Python -new_vwm Use the -newvwm alias name instead. --- Source/Modules/python.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx index af4a7c19b..5a34d23ef 100755 --- a/Source/Modules/python.cxx +++ b/Source/Modules/python.cxx @@ -418,7 +418,7 @@ public: } else if (strcmp(argv[i], "-noh") == 0) { no_header_file = 1; Swig_mark_arg(i); - } else if ((strcmp(argv[i], "-new_vwm") == 0) || (strcmp(argv[i], "-newvwm") == 0)) { + } else if (strcmp(argv[i], "-newvwm") == 0) { /* Turn on new value wrapper mode */ Swig_value_wrapper_mode(1); no_header_file = 1; @@ -456,6 +456,7 @@ public: strcmp(argv[i], "-classic") == 0 || strcmp(argv[i], "-classptr") == 0 || strcmp(argv[i], "-new_repr") == 0 || + strcmp(argv[i], "-new_vwm") == 0 || strcmp(argv[i], "-newrepr") == 0 || strcmp(argv[i], "-noaliasobj0") == 0 || strcmp(argv[i], "-nobuildnone") == 0 ||