summaryrefslogtreecommitdiffstats
path: root/doc/Class.3
diff options
context:
space:
mode:
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