aboutsummaryrefslogtreecommitdiff
path: root/Examples/tcl/reference/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/tcl/reference/index.html')
-rw-r--r--Examples/tcl/reference/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/tcl/reference/index.html b/Examples/tcl/reference/index.html
index ef799fa90..95059c07f 100644
--- a/Examples/tcl/reference/index.html
+++ b/Examples/tcl/reference/index.html
@@ -104,7 +104,7 @@ with a pair of set/get functions like this:
class VectorArray {
public:
...
- %addmethods {
+ %extend {
Vector &get(int index) {
return (*self)[index];
}