diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2009-07-12 14:57:56 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2009-07-12 14:57:56 (GMT) |
commit | fde10a8fbff3c774f95f668f51b6d60c1489d50d (patch) | |
tree | 7639b8a0d3743b11f7bbc212f06f8685b2c1718d /doc | |
parent | 08c08fbd919645722f3a2fe5db61c2e4dfa97d2c (diff) | |
download | tcl-fde10a8fbff3c774f95f668f51b6d60c1489d50d.zip tcl-fde10a8fbff3c774f95f668f51b6d60c1489d50d.tar.gz tcl-fde10a8fbff3c774f95f668f51b6d60c1489d50d.tar.bz2 |
Updated documentation to provide better description of this advanced feature.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Class.3 | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/doc/Class.3 b/doc/Class.3 index b7e17db..e7b0881 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.2 2008/06/29 22:28:23 dkf Exp $ +'\" RCS: @(#) $Id: Class.3,v 1.3 2009/07/12 14:57:56 dkf Exp $ '\" .so man.macros .TH Tcl_Class 3 0.1 TclOO "TclOO Library Functions" @@ -211,20 +211,21 @@ typedef int \fBTcl_ObjectMapMethodNameProc\fR( Tcl_Obj *\fImethodNameObj\fR); .CE .PP -The \fIinterp\fR parameter (and the integer result) follow normal Tcl result -rules for error reporting. The \fIobject\fR parameter says which object is -being processed. The \fIstartClsPtr\fR parameter points to a variable that -contains the first class to provide a definition in the method chain to -process, or NULL if the whole chain is to be processed (the argument itself is -never NULL); this variable may be updated by the callback. The -\fImethodNameObj\fR parameter gives an unshared object containing the name of -the method being invoked, as provided by the user; this object may be updated -by the callback. +If the result is TCL_OK, the remapping is assumed to have been done. If the +result is TCL_ERROR, an error message will have been left in \fIinterp\fR and +the method call will fail. If the result is TCL_BREAK, the standard method +name lookup rules will be used; the behavior of other result codes is +currently undefined. The \fIobject\fR parameter says which object is being +processed. The \fIstartClsPtr\fR parameter points to a variable that contains +the first class to provide a definition in the method chain to process, or +NULL if the whole chain is to be processed (the argument itself is never +NULL); this variable may be updated by the callback. The \fImethodNameObj\fR +parameter gives an unshared object containing the name of the method being +invoked, as provided by the user; this object may be updated by the callback. .SH "SEE ALSO" Method(3), oo::class(n), oo::copy(n), oo::define(n), oo::object(n) .SH KEYWORDS class, constructor, object - .\" Local variables: .\" mode: nroff .\" fill-column: 78 |