summaryrefslogtreecommitdiffstats
path: root/doc/Class.3
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2008-06-29 22:28:20 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2008-06-29 22:28:20 (GMT)
commit131a59f68c8b1673c1fcd9b035bb7791eea72bc9 (patch)
treecdb9d2219449fc94b2623bab245f0b0cdcf45c52 /doc/Class.3
parent7b7bac281c6cba5b97c0962a4032cc39dcc6308f (diff)
downloadtcl-131a59f68c8b1673c1fcd9b035bb7791eea72bc9.zip
tcl-131a59f68c8b1673c1fcd9b035bb7791eea72bc9.tar.gz
tcl-131a59f68c8b1673c1fcd9b035bb7791eea72bc9.tar.bz2
Prepare Tcl's docs for life as 8.6 (remove out of date change bars, fix
typedefs, add a few missing bits)
Diffstat (limited to 'doc/Class.3')
-rw-r--r--doc/Class.336
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/Class.3 b/doc/Class.3
index 8954ab7..b7e17db 100644
--- a/doc/Class.3
+++ b/doc/Class.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: Class.3,v 1.1 2008/05/31 11:42:06 dkf Exp $
+'\" RCS: @(#) $Id: Class.3,v 1.2 2008/06/29 22:28:23 dkf Exp $
'\"
.so man.macros
.TH Tcl_Class 3 0.1 TclOO "TclOO Library Functions"
@@ -137,12 +137,12 @@ remove a piece of metadata that was not attached.
The contents of the Tcl_ObjectMetadataType structure are as follows:
.PP
.CS
- typedef const struct {
- int \fIversion\fR;
- const char *\fIname\fR;
- Tcl_ObjectMetadataDeleteProc \fIdeleteProc\fR;
- Tcl_CloneProc \fIcloneProc\fR;
- } \fBTcl_ObjectMetadataType\fR;
+typedef const struct {
+ int \fIversion\fR;
+ const char *\fIname\fR;
+ Tcl_ObjectMetadataDeleteProc \fIdeleteProc\fR;
+ Tcl_CloneProc \fIcloneProc\fR;
+} \fBTcl_ObjectMetadataType\fR;
.CE
.PP
The \fIversion\fR field allows for future expansion of the structure, and
@@ -165,8 +165,8 @@ Functions matching this signature are used to delete metadata associated with
a class or object.
.PP
.CS
- typedef void (*\fBTcl_ObjectMetadataDeleteProc\fR) (
- ClientData \fImetadata\fR);
+typedef void \fBTcl_ObjectMetadataDeleteProc\fR(
+ ClientData \fImetadata\fR);
.CE
.PP
The \fImetadata\fR argument gives the address of the metadata to be
@@ -177,10 +177,10 @@ Functions matching this signature are used to create copies of metadata
associated with a class or object.
.PP
.CS
- typedef int (*\fBTcl_CloneProc\fR) (
- Tcl_Interp *\fIinterp\fR,
- ClientData \fIsrcMetadata\fR,
- ClientData *\fIdstMetadataPtr\fR);
+typedef int \fBTcl_CloneProc\fR(
+ Tcl_Interp *\fIinterp\fR,
+ ClientData \fIsrcMetadata\fR,
+ ClientData *\fIdstMetadataPtr\fR);
.CE
.PP
The \fIinterp\fR argument gives a place to write an error message when the
@@ -204,11 +204,11 @@ method implementations is to be used.
The \fITcl_ObjectMapMethodNameProc\fR callback is defined as follows:
.PP
.CS
- typedef int (*\fBTcl_ObjectMapMethodNameProc\fR)(
- Tcl_Interp *\fIinterp\fR,
- Tcl_Object \fIobject\fR,
- Tcl_Class *\fIstartClsPtr\fR,
- Tcl_Obj *\fImethodNameObj\fR);
+typedef int \fBTcl_ObjectMapMethodNameProc\fR(
+ Tcl_Interp *\fIinterp\fR,
+ Tcl_Object \fIobject\fR,
+ Tcl_Class *\fIstartClsPtr\fR,
+ Tcl_Obj *\fImethodNameObj\fR);
.CE
.PP
The \fIinterp\fR parameter (and the integer result) follow normal Tcl result