Remove bogus ; after } in documentation
This commit is contained in:
parent
0e5e043870
commit
e047d2e2bd
4 changed files with 17 additions and 17 deletions
18
CHANGES
18
CHANGES
|
|
@ -2898,8 +2898,8 @@ Version 2.0.0 (2 June 2010)
|
||||||
and in template parameter specializations:
|
and in template parameter specializations:
|
||||||
|
|
||||||
struct S {};
|
struct S {};
|
||||||
template <typename T> struct X { void a() {}; };
|
template <typename T> struct X { void a() {} };
|
||||||
template <> struct X<S> { void b() {}; };
|
template <> struct X<S> { void b() {} };
|
||||||
%template(MyTConcrete) X< ::S >;
|
%template(MyTConcrete) X< ::S >;
|
||||||
|
|
||||||
plus probably some other corner case usage of ::.
|
plus probably some other corner case usage of ::.
|
||||||
|
|
@ -20234,13 +20234,13 @@ Version 1.3.6 (July 9, 2001)
|
||||||
class TestClass
|
class TestClass
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
TestClass() {};
|
TestClass() {}
|
||||||
TestClass(int a) {};
|
TestClass(int a) {}
|
||||||
~TestClass() {};
|
~TestClass() {}
|
||||||
unsigned long xyz(short k) {};
|
unsigned long xyz(short k) {}
|
||||||
unsigned long xyz(int n) {};
|
unsigned long xyz(int n) {}
|
||||||
static void static_func() {};
|
static void static_func() {}
|
||||||
static void static_func(int a) {};
|
static void static_func(int a) {}
|
||||||
};
|
};
|
||||||
void delete_TestClass(int a);
|
void delete_TestClass(int a);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -478,7 +478,7 @@ public:
|
||||||
}
|
}
|
||||||
virtual ~Shape() {
|
virtual ~Shape() {
|
||||||
nshapes--;
|
nshapes--;
|
||||||
};
|
}
|
||||||
double x, y;
|
double x, y;
|
||||||
void move(double dx, double dy);
|
void move(double dx, double dy);
|
||||||
virtual double area(void) = 0;
|
virtual double area(void) = 0;
|
||||||
|
|
@ -490,7 +490,7 @@ class Circle : public Shape {
|
||||||
private:
|
private:
|
||||||
double radius;
|
double radius;
|
||||||
public:
|
public:
|
||||||
Circle(double r) : radius(r) { };
|
Circle(double r) : radius(r) { }
|
||||||
virtual double area(void);
|
virtual double area(void);
|
||||||
virtual double perimeter(void);
|
virtual double perimeter(void);
|
||||||
};
|
};
|
||||||
|
|
@ -499,7 +499,7 @@ class Square : public Shape {
|
||||||
private:
|
private:
|
||||||
double width;
|
double width;
|
||||||
public:
|
public:
|
||||||
Square(double w) : width(w) { };
|
Square(double w) : width(w) { }
|
||||||
virtual double area(void);
|
virtual double area(void);
|
||||||
virtual double perimeter(void);
|
virtual double perimeter(void);
|
||||||
};</pre>
|
};</pre>
|
||||||
|
|
@ -776,7 +776,7 @@ class JSEmitter {
|
||||||
*/
|
*/
|
||||||
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.
|
||||||
|
|
@ -788,7 +788,7 @@ class JSEmitter {
|
||||||
*/
|
*/
|
||||||
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.
|
||||||
|
|
@ -800,7 +800,7 @@ class JSEmitter {
|
||||||
*/
|
*/
|
||||||
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.
|
||||||
|
|
|
||||||
|
|
@ -3567,7 +3567,7 @@ It is also possible to separate these declarations from the template class. For
|
||||||
template<class T> class List {
|
template<class T> class List {
|
||||||
...
|
...
|
||||||
public:
|
public:
|
||||||
List() { };
|
List() { }
|
||||||
T get(int index);
|
T get(int index);
|
||||||
...
|
...
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -147,7 +147,7 @@ String *get_raw_text_balanced(int startchar, int endchar) {
|
||||||
* friend ostream& operator<<(ostream&, const char *s);
|
* friend ostream& operator<<(ostream&, const char *s);
|
||||||
*
|
*
|
||||||
* or
|
* or
|
||||||
* friend ostream& operator<<(ostream&, const char *s) { };
|
* friend ostream& operator<<(ostream&, const char *s) { }
|
||||||
*
|
*
|
||||||
* ------------------------------------------------------------------------- */
|
* ------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue