diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-06-25 10:59:54 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-06-25 10:59:54 (GMT) |
commit | 14d065088bf79b9e32f20336730082b4533b0fea (patch) | |
tree | 960e6ab85db98d0b8df0430d4abc72fc0555e93a /generic/tclOO.h | |
parent | 474c08922f5e9eb3699fba6cf236e4fde61ae390 (diff) | |
parent | aee2d45ff2019fb52599d3c022b2acfa680d96de (diff) | |
download | tcl-14d065088bf79b9e32f20336730082b4533b0fea.zip tcl-14d065088bf79b9e32f20336730082b4533b0fea.tar.gz tcl-14d065088bf79b9e32f20336730082b4533b0fea.tar.bz2 |
Merge 8.7
Diffstat (limited to 'generic/tclOO.h')
-rw-r--r-- | generic/tclOO.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/generic/tclOO.h b/generic/tclOO.h index 0ddb13c..dea1467 100644 --- a/generic/tclOO.h +++ b/generic/tclOO.h @@ -60,14 +60,14 @@ typedef struct Tcl_ObjectContext_ *Tcl_ObjectContext; * and to allow the attachment of arbitrary data to objects and classes. */ -typedef int (Tcl_MethodCallProc)(ClientData clientData, Tcl_Interp *interp, +typedef int (Tcl_MethodCallProc)(void *clientData, Tcl_Interp *interp, Tcl_ObjectContext objectContext, int objc, Tcl_Obj *const *objv); -typedef int (Tcl_MethodCallProc2)(ClientData clientData, Tcl_Interp *interp, +typedef int (Tcl_MethodCallProc2)(void *clientData, Tcl_Interp *interp, Tcl_ObjectContext objectContext, size_t objc, Tcl_Obj *const *objv); -typedef void (Tcl_MethodDeleteProc)(ClientData clientData); -typedef int (Tcl_CloneProc)(Tcl_Interp *interp, ClientData oldClientData, - ClientData *newClientData); -typedef void (Tcl_ObjectMetadataDeleteProc)(ClientData clientData); +typedef void (Tcl_MethodDeleteProc)(void *clientData); +typedef int (Tcl_CloneProc)(Tcl_Interp *interp, void *oldClientData, + void **newClientData); +typedef void (Tcl_ObjectMetadataDeleteProc)(void *clientData); typedef int (Tcl_ObjectMapMethodNameProc)(Tcl_Interp *interp, Tcl_Object object, Tcl_Class *startClsPtr, Tcl_Obj *methodNameObj); @@ -114,7 +114,7 @@ typedef struct { /* * The correct value for the version field of the Tcl_MethodType structure. * This allows new versions of the structure to be introduced without breaking - * binary compatability. + * binary compatibility. */ #define TCL_OO_METHOD_VERSION_1 1 @@ -152,7 +152,7 @@ typedef struct { /* * The correct value for the version field of the Tcl_ObjectMetadataType * structure. This allows new versions of the structure to be introduced - * without breaking binary compatability. + * without breaking binary compatibility. */ #define TCL_OO_METADATA_VERSION_CURRENT 1 |