Whitespace tweaks
This commit is contained in:
parent
ad61e33e22
commit
10d87100ea
2 changed files with 4 additions and 5 deletions
|
|
@ -140,8 +140,7 @@ namespace Swig {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* any php exception that occurs during a director method call */
|
/* any php exception that occurs during a director method call */
|
||||||
class DirectorMethodException : public DirectorException
|
class DirectorMethodException : public DirectorException {
|
||||||
{
|
|
||||||
public:
|
public:
|
||||||
DirectorMethodException()
|
DirectorMethodException()
|
||||||
: DirectorException(E_ERROR, "SWIG director method error", NULL) {
|
: DirectorException(E_ERROR, "SWIG director method error", NULL) {
|
||||||
|
|
|
||||||
|
|
@ -2000,7 +2000,7 @@ public:
|
||||||
Delete(super_call);
|
Delete(super_call);
|
||||||
} else {
|
} else {
|
||||||
Printf(w->code, "Swig::DirectorPureVirtualException::raise(\"Attempted to invoke pure virtual method %s::%s\");\n", SwigType_namestr(c_classname),
|
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 {
|
} else {
|
||||||
/* attach typemaps to arguments (C/C++ -> PHP) */
|
/* attach typemaps to arguments (C/C++ -> PHP) */
|
||||||
|
|
@ -2146,8 +2146,8 @@ public:
|
||||||
Delete(tm);
|
Delete(tm);
|
||||||
} else {
|
} else {
|
||||||
Swig_warning(WARN_TYPEMAP_DIRECTOROUT_UNDEF, input_file, line_number,
|
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),
|
"Unable to use return type %s in director method %s::%s (skipping method).\n", SwigType_str(returntype, 0),
|
||||||
SwigType_namestr(name));
|
SwigType_namestr(c_classname), SwigType_namestr(name));
|
||||||
status = SWIG_ERROR;
|
status = SWIG_ERROR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue