From 10d87100ea41b810ec341b6daf8ff7bc0ffcd50a Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Thu, 22 Apr 2021 12:25:13 +1200 Subject: [PATCH] Whitespace tweaks --- Lib/php/director.swg | 3 +-- Source/Modules/php.cxx | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Lib/php/director.swg b/Lib/php/director.swg index 19fdb713d..fe5175785 100644 --- a/Lib/php/director.swg +++ b/Lib/php/director.swg @@ -140,8 +140,7 @@ namespace Swig { }; /* any php exception that occurs during a director method call */ - class DirectorMethodException : public DirectorException - { + class DirectorMethodException : public DirectorException { public: DirectorMethodException() : DirectorException(E_ERROR, "SWIG director method error", NULL) { diff --git a/Source/Modules/php.cxx b/Source/Modules/php.cxx index 5740c2559..d96895556 100644 --- a/Source/Modules/php.cxx +++ b/Source/Modules/php.cxx @@ -2000,7 +2000,7 @@ public: Delete(super_call); } else { Printf(w->code, "Swig::DirectorPureVirtualException::raise(\"Attempted to invoke pure virtual method %s::%s\");\n", SwigType_namestr(c_classname), - SwigType_namestr(name)); + SwigType_namestr(name)); } } else { /* attach typemaps to arguments (C/C++ -> PHP) */ @@ -2146,8 +2146,8 @@ public: Delete(tm); } else { Swig_warning(WARN_TYPEMAP_DIRECTOROUT_UNDEF, input_file, line_number, - "Unable to use return type %s in director method %s::%s (skipping method).\n", SwigType_str(returntype, 0), SwigType_namestr(c_classname), - SwigType_namestr(name)); + "Unable to use return type %s in director method %s::%s (skipping method).\n", SwigType_str(returntype, 0), + SwigType_namestr(c_classname), SwigType_namestr(name)); status = SWIG_ERROR; } }