diff --git a/Examples/java/reference/index.html b/Examples/java/reference/index.html index 946bda0fa..29d5db63f 100644 --- a/Examples/java/reference/index.html +++ b/Examples/java/reference/index.html @@ -26,7 +26,7 @@ you might have an operator like this:
-Vector operator+(const Vector &a, const Vector &b) {
+Vector operator+(const Vector &a, const Vector &b) {
Vector result;
result.x = a.x + b.x;
result.y = a.y + b.y;
@@ -40,7 +40,7 @@ or a function:
-Vector addv(const Vector &a, const Vector &b) {
+Vector addv(const Vector &a, const Vector &b) {
Vector result;
result.x = a.x + b.x;
result.y = a.y + b.y;
@@ -67,7 +67,7 @@ The prototypical example is an operator like this:
-Vector &operator[](int index);
+Vector &operator[](int index);
@@ -75,7 +75,7 @@ or a method:
-Vector &get(int index);
+Vector &get(int index);
@@ -84,8 +84,8 @@ For functions returning references, a wrapper like this is created:
Vector *wrap_Object_get(Object *self, int index) {
- Vector &result = self->get(index);
- return &result;
+ Vector &result = self->get(index);
+ return &result;
}
@@ -107,10 +107,10 @@ class VectorArray {
public:
...
%addmethods {
- Vector &get(int index) {
+ Vector &get(int index) {
return (*self)[index];
}
- void set(int index, Vector &a) {
+ void set(int index, Vector &a) {
(*self)[index] = a;
}
}
diff --git a/Examples/java/simple/index.html b/Examples/java/simple/index.html
index ac06b7302..5b7848f31 100644
--- a/Examples/java/simple/index.html
+++ b/Examples/java/simple/index.html
@@ -32,7 +32,7 @@ double Foo = 3.0;
int gcd(int x, int y) {
int g;
g = y;
- while (x > 0) {
+ while (x > 0) {
g = x;
x = y % x;
y = g;
diff --git a/Examples/java/template/index.html b/Examples/java/template/index.html
index f8fcce08e..04c910c14 100644
--- a/Examples/java/template/index.html
+++ b/Examples/java/template/index.html
@@ -36,10 +36,10 @@ template class vector {
v = new T[_sz];
sz = _sz;
}
- T &get(int index) {
+ T &get(int index) {
return v[index];
}
- void set(int index, T &val) {
+ void set(int index, T &val) {
v[index] = val;
}
#ifdef SWIG
diff --git a/Examples/ocaml/simple/index.html b/Examples/ocaml/simple/index.html
index 9638708cc..4f5329204 100644
--- a/Examples/ocaml/simple/index.html
+++ b/Examples/ocaml/simple/index.html
@@ -32,7 +32,7 @@ double Foo = 3.0;
int gcd(int x, int y) {
int g;
g = y;
- while (x > 0) {
+ while (x > 0) {
g = x;
x = y % x;
y = g;
diff --git a/Examples/perl5/reference/index.html b/Examples/perl5/reference/index.html
index a4043e98e..d2c894374 100644
--- a/Examples/perl5/reference/index.html
+++ b/Examples/perl5/reference/index.html
@@ -26,7 +26,7 @@ you might have an operator like this:
-Vector operator+(const Vector &a, const Vector &b) {
+Vector operator+(const Vector &a, const Vector &b) {
Vector result;
result.x = a.x + b.x;
result.y = a.y + b.y;
@@ -40,7 +40,7 @@ or a function:
-Vector addv(const Vector &a, const Vector &b) {
+Vector addv(const Vector &a, const Vector &b) {
Vector result;
result.x = a.x + b.x;
result.y = a.y + b.y;
@@ -67,7 +67,7 @@ The prototypical example is an operator like this:
-Vector &operator[](int index);
+Vector &operator[](int index);
@@ -75,7 +75,7 @@ or a method:
-Vector &get(int index);
+Vector &get(int index);
@@ -84,8 +84,8 @@ For functions returning references, a wrapper like this is created:
Vector *wrap_Object_get(Object *self, int index) {
- Vector &result = self->get(index);
- return &result;
+ Vector &result = self->get(index);
+ return &result;
}
@@ -107,10 +107,10 @@ class VectorArray {
public:
...
%addmethods {
- Vector &get(int index) {
+ Vector &get(int index) {
return (*self)[index];
}
- void set(int index, Vector &a) {
+ void set(int index, Vector &a) {
(*self)[index] = a;
}
}
diff --git a/Examples/perl5/simple/index.html b/Examples/perl5/simple/index.html
index 84642ab49..4e88b8ea4 100644
--- a/Examples/perl5/simple/index.html
+++ b/Examples/perl5/simple/index.html
@@ -32,7 +32,7 @@ double Foo = 3.0;
int gcd(int x, int y) {
int g;
g = y;
- while (x > 0) {
+ while (x > 0) {
g = x;
x = y % x;
y = g;
diff --git a/Examples/python/index.html b/Examples/python/index.html
index dc0110716..5026f8472 100644
--- a/Examples/python/index.html
+++ b/Examples/python/index.html
@@ -51,8 +51,8 @@ the steps look like this (Linux):
% python
Python 1.5.2 (#3, Oct 9 1999, 22:09:34) [GCC 2.95.1 19990816 (release)] on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
->>> import interface
->>> interface.blah(...)
+>>> import interface
+>>> interface.blah(...)
...
diff --git a/Examples/python/reference/index.html b/Examples/python/reference/index.html
index 82eaa3638..0f924463b 100644
--- a/Examples/python/reference/index.html
+++ b/Examples/python/reference/index.html
@@ -26,7 +26,7 @@ you might have an operator like this:
-Vector operator+(const Vector &a, const Vector &b) {
+Vector operator+(const Vector &a, const Vector &b) {
Vector result;
result.x = a.x + b.x;
result.y = a.y + b.y;
@@ -40,7 +40,7 @@ or a function:
-Vector addv(const Vector &a, const Vector &b) {
+Vector addv(const Vector &a, const Vector &b) {
Vector result;
result.x = a.x + b.x;
result.y = a.y + b.y;
@@ -67,7 +67,7 @@ The prototypical example is an operator like this:
-Vector &operator[](int index);
+Vector &operator[](int index);
@@ -75,7 +75,7 @@ or a method:
-Vector &get(int index);
+Vector &get(int index);
@@ -84,8 +84,8 @@ For functions returning references, a wrapper like this is created:
Vector *wrap_Object_get(Object *self, int index) {
- Vector &result = self->get(index);
- return &result;
+ Vector &result = self->get(index);
+ return &result;
}
@@ -107,10 +107,10 @@ class VectorArray {
public:
...
%addmethods {
- Vector &get(int index) {
+ Vector &get(int index) {
return (*self)[index];
}
- void set(int index, Vector &a) {
+ void set(int index, Vector &a) {
(*self)[index] = a;
}
}
diff --git a/Examples/python/simple/index.html b/Examples/python/simple/index.html
index 9638708cc..4f5329204 100644
--- a/Examples/python/simple/index.html
+++ b/Examples/python/simple/index.html
@@ -32,7 +32,7 @@ double Foo = 3.0;
int gcd(int x, int y) {
int g;
g = y;
- while (x > 0) {
+ while (x > 0) {
g = x;
x = y % x;
y = g;
diff --git a/Examples/ruby/reference/index.html b/Examples/ruby/reference/index.html
index 10218e4fd..d4112a3fe 100644
--- a/Examples/ruby/reference/index.html
+++ b/Examples/ruby/reference/index.html
@@ -26,7 +26,7 @@ you might have an operator like this:
-Vector operator+(const Vector &a, const Vector &b) {
+Vector operator+(const Vector &a, const Vector &b) {
Vector result;
result.x = a.x + b.x;
result.y = a.y + b.y;
@@ -40,7 +40,7 @@ or a function:
-Vector addv(const Vector &a, const Vector &b) {
+Vector addv(const Vector &a, const Vector &b) {
Vector result;
result.x = a.x + b.x;
result.y = a.y + b.y;
@@ -67,7 +67,7 @@ The prototypical example is an operator like this:
-Vector &operator[](int index);
+Vector &operator[](int index);
@@ -75,7 +75,7 @@ or a method:
-Vector &get(int index);
+Vector &get(int index);
@@ -84,8 +84,8 @@ For functions returning references, a wrapper like this is created:
Vector *wrap_Object_get(Object *self, int index) {
- Vector &result = self->get(index);
- return &result;
+ Vector &result = self->get(index);
+ return &result;
}
@@ -107,10 +107,10 @@ class VectorArray {
public:
...
%addmethods {
- Vector &get(int index) {
+ Vector &get(int index) {
return (*self)[index];
}
- void set(int index, Vector &a) {
+ void set(int index, Vector &a) {
(*self)[index] = a;
}
}
diff --git a/Examples/ruby/simple/index.html b/Examples/ruby/simple/index.html
index 7fff03915..4703cbdc3 100644
--- a/Examples/ruby/simple/index.html
+++ b/Examples/ruby/simple/index.html
@@ -32,7 +32,7 @@ double Foo = 3.0;
int gcd(int x, int y) {
int g;
g = y;
- while (x > 0) {
+ while (x > 0) {
g = x;
x = y % x;
y = g;
diff --git a/Examples/tcl/reference/index.html b/Examples/tcl/reference/index.html
index 70485c977..764a382b9 100644
--- a/Examples/tcl/reference/index.html
+++ b/Examples/tcl/reference/index.html
@@ -26,7 +26,7 @@ you might have an operator like this:
-Vector operator+(const Vector &a, const Vector &b) {
+Vector operator+(const Vector &a, const Vector &b) {
Vector result;
result.x = a.x + b.x;
result.y = a.y + b.y;
@@ -40,7 +40,7 @@ or a function:
-Vector addv(const Vector &a, const Vector &b) {
+Vector addv(const Vector &a, const Vector &b) {
Vector result;
result.x = a.x + b.x;
result.y = a.y + b.y;
@@ -67,7 +67,7 @@ The prototypical example is an operator like this:
-Vector &operator[](int index);
+Vector &operator[](int index);
@@ -75,7 +75,7 @@ or a method:
-Vector &get(int index);
+Vector &get(int index);
@@ -84,8 +84,8 @@ For functions returning references, a wrapper like this is created:
Vector *wrap_Object_get(Object *self, int index) {
- Vector &result = self->get(index);
- return &result;
+ Vector &result = self->get(index);
+ return &result;
}
@@ -107,10 +107,10 @@ class VectorArray {
public:
...
%addmethods {
- Vector &get(int index) {
+ Vector &get(int index) {
return (*self)[index];
}
- void set(int index, Vector &a) {
+ void set(int index, Vector &a) {
(*self)[index] = a;
}
}
@@ -129,7 +129,7 @@ Click here to see a script that manipulates some C++ ref
- C++ references primarily provide notational convenience for C++
-source code. However, Tcl has neither the 'x.a' or 'x->a'
+source code. However, Tcl has neither the 'x.a' or 'x->a'
notation so it doesn't much matter.
diff --git a/Examples/tcl/simple/index.html b/Examples/tcl/simple/index.html
index baf7fdd60..908f486b7 100644
--- a/Examples/tcl/simple/index.html
+++ b/Examples/tcl/simple/index.html
@@ -31,7 +31,7 @@ double Foo = 3.0;
int gcd(int x, int y) {
int g;
g = y;
- while (x > 0) {
+ while (x > 0) {
g = x;
x = y % x;
y = g;