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