summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2021-04-22 12:25:13 +1200
committerOlly Betts <olly@survex.com>2021-04-22 12:25:13 +1200
commit10d87100ea41b810ec341b6daf8ff7bc0ffcd50a (patch)
tree7080db5cd7089020676dbb62f9149f9f6f6c86f8
parentad61e33e229ec9e2e812108bb211409a4b9b50e0 (diff)
downloadswig-10d87100ea41b810ec341b6daf8ff7bc0ffcd50a.tar.gz
Whitespace tweaks
-rw-r--r--Lib/php/director.swg3
-rw-r--r--Source/Modules/php.cxx6
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;
}
}