summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-21 14:57:50 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-21 14:57:50 (GMT)
commit21134c44f3434c701ef4f166be74f389cd3425bd (patch)
treed2b3252958d2d8c478005ed78cf7e75af96f010d
parent7cf923e3adf17c1cc0d46d43914ff567a7910ff4 (diff)
downloadtcl-21134c44f3434c701ef4f166be74f389cd3425bd.zip
tcl-21134c44f3434c701ef4f166be74f389cd3425bd.tar.gz
tcl-21134c44f3434c701ef4f166be74f389cd3425bd.tar.bz2
some more
-rw-r--r--generic/tclOO.decls4
-rw-r--r--generic/tclOODefineCmds.c4
-rw-r--r--generic/tclOOIntDecls.h8
3 files changed, 8 insertions, 8 deletions
diff --git a/generic/tclOO.decls b/generic/tclOO.decls
index 14eafe3..5a1cff2 100644
--- a/generic/tclOO.decls
+++ b/generic/tclOO.decls
@@ -212,12 +212,12 @@ declare 13 {
size_t numFilters, Tcl_Obj *const *filters)
}
declare 14 {
- void TclOOObjectSetMixins(Object *oPtr, int numMixins,
+ void TclOOObjectSetMixins(Object *oPtr, size_t numMixins,
Class *const *mixins)
}
declare 15 {
void TclOOClassSetMixins(Tcl_Interp *interp, Class *classPtr,
- int numMixins, Class *const *mixins)
+ size_t numMixins, Class *const *mixins)
}
return
diff --git a/generic/tclOODefineCmds.c b/generic/tclOODefineCmds.c
index e0819ed..e897778 100644
--- a/generic/tclOODefineCmds.c
+++ b/generic/tclOODefineCmds.c
@@ -371,7 +371,7 @@ TclOOClassSetFilters(
void
TclOOObjectSetMixins(
Object *oPtr,
- int numMixins,
+ size_t numMixins,
Class *const *mixins)
{
Class *mixinPtr;
@@ -432,7 +432,7 @@ void
TclOOClassSetMixins(
Tcl_Interp *interp,
Class *classPtr,
- int numMixins,
+ size_t numMixins,
Class *const *mixins)
{
Class *mixinPtr;
diff --git a/generic/tclOOIntDecls.h b/generic/tclOOIntDecls.h
index 9fa90fb..53c2a6f 100644
--- a/generic/tclOOIntDecls.h
+++ b/generic/tclOOIntDecls.h
@@ -85,11 +85,11 @@ TCLAPI void TclOOClassSetFilters(Tcl_Interp *interp,
Class *classPtr, size_t numFilters,
Tcl_Obj *const *filters);
/* 14 */
-TCLAPI void TclOOObjectSetMixins(Object *oPtr, int numMixins,
+TCLAPI void TclOOObjectSetMixins(Object *oPtr, size_t numMixins,
Class *const *mixins);
/* 15 */
TCLAPI void TclOOClassSetMixins(Tcl_Interp *interp,
- Class *classPtr, int numMixins,
+ Class *classPtr, size_t numMixins,
Class *const *mixins);
typedef struct TclOOIntStubs {
@@ -110,8 +110,8 @@ typedef struct TclOOIntStubs {
int (*tclOOInvokeObject) (Tcl_Interp *interp, Tcl_Object object, Tcl_Class startCls, int publicPrivate, size_t objc, Tcl_Obj *const *objv); /* 11 */
void (*tclOOObjectSetFilters) (Object *oPtr, size_t numFilters, Tcl_Obj *const *filters); /* 12 */
void (*tclOOClassSetFilters) (Tcl_Interp *interp, Class *classPtr, size_t numFilters, Tcl_Obj *const *filters); /* 13 */
- void (*tclOOObjectSetMixins) (Object *oPtr, int numMixins, Class *const *mixins); /* 14 */
- void (*tclOOClassSetMixins) (Tcl_Interp *interp, Class *classPtr, int numMixins, Class *const *mixins); /* 15 */
+ void (*tclOOObjectSetMixins) (Object *oPtr, size_t numMixins, Class *const *mixins); /* 14 */
+ void (*tclOOClassSetMixins) (Tcl_Interp *interp, Class *classPtr, size_t numMixins, Class *const *mixins); /* 15 */
} TclOOIntStubs;
extern const TclOOIntStubs *tclOOIntStubsPtr;