From 2353628b42e71598ddcc606a3c51667a6cc4f199 Mon Sep 17 00:00:00 2001 From: nijtmans Date: Fri, 20 Aug 2010 23:01:27 +0000 Subject: Fix definition of Tcl_MethodType --- ChangeLog | 4 ++++ doc/Method.3 | 10 +++++----- 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 + + * doc/Method.3 Fix definition of Tcl_MethodType + 2010-08-19 Donal K. Fellows * 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 -- cgit v0.12