summaryrefslogtreecommitdiffstats
path: root/generic/tclOOMethod.c
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2010-02-05 10:03:23 (GMT)
committernijtmans <nijtmans@noemail.net>2010-02-05 10:03:23 (GMT)
commit8056c8844c4dbffe7b4e8cafac1bccda02e5ab77 (patch)
tree91a0d32c754b6aff65afda82a01486cdc41c00d3 /generic/tclOOMethod.c
parent619b892f3f151e41d54d71e2511827f90a1ee2d8 (diff)
downloadtcl-8056c8844c4dbffe7b4e8cafac1bccda02e5ab77.zip
tcl-8056c8844c4dbffe7b4e8cafac1bccda02e5ab77.tar.gz
tcl-8056c8844c4dbffe7b4e8cafac1bccda02e5ab77.tar.bz2
Follow-up to [2010-01-29] commit:
prevent space within stub table function parameters if the parameter type is a pointer. Minor formatting, and VOID -> void. Change signature of TclNRInterpProcCore, and TclOONewProc(Instance|)MethodEx, indicating that errorProc is a function pointer tclVar.c: fixed two gcc warnings FossilOrigin-Name: 98e1b94811e5566833ed547424b86dd3e7fc9a2d
Diffstat (limited to 'generic/tclOOMethod.c')
-rw-r--r--generic/tclOOMethod.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclOOMethod.c b/generic/tclOOMethod.c
index 3422660..fa47256 100644
--- a/generic/tclOOMethod.c
+++ b/generic/tclOOMethod.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclOOMethod.c,v 1.22 2009/04/11 11:18:51 dkf Exp $
+ * RCS: @(#) $Id: tclOOMethod.c,v 1.23 2010/02/05 10:03:23 nijtmans Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -1657,7 +1657,7 @@ TclOONewProcInstanceMethodEx(
Tcl_Object oPtr, /* The object to modify. */
TclOO_PreCallProc preCallPtr,
TclOO_PostCallProc postCallPtr,
- ProcErrorProc errProc,
+ ProcErrorProc *errProc,
ClientData clientData,
Tcl_Obj *nameObj, /* The name of the method, which must not be
* NULL. */
@@ -1694,7 +1694,7 @@ TclOONewProcMethodEx(
Tcl_Class clsPtr, /* The class to modify. */
TclOO_PreCallProc preCallPtr,
TclOO_PostCallProc postCallPtr,
- ProcErrorProc errProc,
+ ProcErrorProc *errProc,
ClientData clientData,
Tcl_Obj *nameObj, /* The name of the method, which may be NULL;
* if so, up to caller to manage storage