summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--doc/Method.310
2 files changed, 9 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index be8cdd2..7d0f96b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-20 Jan Nijtmans <nijtmans@users.sf.net>
+
+ * doc/Method.3 Fix definition of Tcl_MethodType
+
2010-08-19 Donal K. Fellows <dkf@users.sf.net>
* generic/tclTrace.c (TraceExecutionObjCmd, TraceCommandObjCmd)
diff --git a/doc/Method.3 b/doc/Method.3
index 948e19e..79e9b9f 100644
--- a/doc/Method.3
+++ b/doc/Method.3
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: Method.3,v 1.4 2009/11/27 14:35:10 dkf Exp $
+'\" RCS: @(#) $Id: Method.3,v 1.5 2010/08/20 23:01:27 nijtmans Exp $
'\"
.so man.macros
.TH Tcl_Method 3 0.1 TclOO "TclOO Library Functions"
@@ -163,12 +163,12 @@ The types of methods are described by a pointer to a Tcl_MethodType structure,
which is defined as:
.PP
.CS
-typedef const struct {
+typedef struct {
int \fIversion\fR;
const char *\fIname\fR;
- Tcl_MethodCallProc \fIcallProc\fR;
- Tcl_MethodDeleteProc \fIdeleteProc\fR;
- Tcl_CloneProc \fIcloneProc\fR;
+ Tcl_MethodCallProc *\fIcallProc\fR;
+ Tcl_MethodDeleteProc *\fIdeleteProc\fR;
+ Tcl_CloneProc *\fIcloneProc\fR;
} \fBTcl_MethodType\fR;
.CE
.PP