mirror of https://github.com/swig/swig
Remove superfluous semicolons
This commit is contained in:
parent
abfd630c6d
commit
fd6c0255a2
|
@ -7,8 +7,8 @@
|
|||
class abstract_foo
|
||||
{
|
||||
public:
|
||||
abstract_foo() { };
|
||||
virtual ~abstract_foo() { };
|
||||
abstract_foo() { }
|
||||
virtual ~abstract_foo() { }
|
||||
virtual int meth(int meth_param) = 0;
|
||||
};
|
||||
|
||||
|
@ -16,9 +16,9 @@ public:
|
|||
class abstract_bar : public abstract_foo
|
||||
{
|
||||
public:
|
||||
abstract_bar() { };
|
||||
abstract_bar() { }
|
||||
|
||||
virtual ~abstract_bar() { };
|
||||
virtual ~abstract_bar() { }
|
||||
virtual int meth(int meth_param) = 0;
|
||||
int meth(int meth_param_1, int meth_param_2) { return 0; }
|
||||
};
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
template <typename T, int r, int c> class test_Matrix {
|
||||
public:
|
||||
void Func(const test_Matrix<T,r,c> &m) { };
|
||||
void Func(const test_Matrix<T,r,c> &m) { }
|
||||
};
|
||||
%}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ public:
|
|||
typedef Handle<SomeClass> hSomeClass;
|
||||
class AnotherClass {
|
||||
public:
|
||||
void someFunc( hSomeClass a = hSomeClass() ) { };
|
||||
void someFunc( hSomeClass a = hSomeClass() ) { }
|
||||
};
|
||||
|
||||
%}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
template <Polarization P>
|
||||
struct Interface_ : Base
|
||||
{
|
||||
Interface_(const Base& b) { };
|
||||
Interface_(const Base& b) { }
|
||||
};
|
||||
|
||||
template <class Result>
|
||||
|
|
|
@ -166,7 +166,7 @@ public:
|
|||
*/
|
||||
virtual int exitClass(Node *) {
|
||||
return SWIG_OK;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoked at the beginning of the variableHandler.
|
||||
|
@ -178,7 +178,7 @@ public:
|
|||
*/
|
||||
virtual int exitVariable(Node *) {
|
||||
return SWIG_OK;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoked at the beginning of the functionHandler.
|
||||
|
@ -190,7 +190,7 @@ public:
|
|||
*/
|
||||
virtual int exitFunction(Node *) {
|
||||
return SWIG_OK;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoked by functionWrapper callback after call to Language::functionWrapper.
|
||||
|
|
|
@ -889,7 +889,7 @@ public:
|
|||
// Add methods
|
||||
if (have_methods) {
|
||||
Printv(ptrclass, imethods, NIL);
|
||||
};
|
||||
}
|
||||
|
||||
// Close out the pointer class
|
||||
Printv(ptrclass, "}\n\n", NIL);
|
||||
|
@ -947,7 +947,7 @@ public:
|
|||
if (!itcl) {
|
||||
Printv(cmd_tab, tab4, "{ SWIG_prefix \"", class_name, "\", (swig_wrapper_func) SWIG_ObjectConstructor, (ClientData)&_wrap_class_", mangled_classname,
|
||||
"},\n", NIL);
|
||||
};
|
||||
}
|
||||
|
||||
Delete(t);
|
||||
Delete(mangled_classname);
|
||||
|
@ -1023,7 +1023,7 @@ public:
|
|||
Printv(imethods, "{ ", ns_name, "::", class_name, "_", realname, " $swigobj", NIL);
|
||||
} else {
|
||||
Printv(imethods, "{ ", class_name, "_", realname, " $swigobj", NIL);
|
||||
};
|
||||
}
|
||||
|
||||
pnum = 0;
|
||||
for (p = l; p; p = nextSibling(p)) {
|
||||
|
|
|
@ -18,7 +18,7 @@ typedef int (*JSCIntializer)(JSGlobalContextRef context, JSObjectRef *module);
|
|||
|
||||
public:
|
||||
|
||||
JSCShell() { context = 0; };
|
||||
JSCShell() { context = 0; }
|
||||
|
||||
virtual ~JSCShell();
|
||||
|
||||
|
|
|
@ -257,7 +257,7 @@ SwigV8ReturnValue V8Shell::Require(const SwigV8Arguments &args) {
|
|||
|
||||
if (args.Length() != 1) {
|
||||
printf("Illegal arguments for `require`");
|
||||
};
|
||||
}
|
||||
|
||||
v8::String::Utf8Value str(args[0]);
|
||||
const char *cstr = V8Shell::ToCString(str);
|
||||
|
|
Loading…
Reference in New Issue