Whitespace tweaks

This commit is contained in:
Olly Betts 2021-04-22 12:25:13 +12:00
parent ad61e33e22
commit 10d87100ea
2 changed files with 4 additions and 5 deletions

View File

@ -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) {

View File

@ -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;
}
}