summaryrefslogtreecommitdiffstats
path: root/generic/tclOOInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-27 17:27:19 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-27 17:27:19 (GMT)
commit77d4b65664ad50b899d6bbb2abd4e81275027900 (patch)
tree6a6039af85595477325e3e3a31142893eb75e5fa /generic/tclOOInt.h
parent75cb3e25d6840c30ddc08ac50b61e772d236f857 (diff)
downloadtcl-77d4b65664ad50b899d6bbb2abd4e81275027900.zip
tcl-77d4b65664ad50b899d6bbb2abd4e81275027900.tar.gz
tcl-77d4b65664ad50b899d6bbb2abd4e81275027900.tar.bz2
More int -> size_t, especially TclOO
Diffstat (limited to 'generic/tclOOInt.h')
-rw-r--r--generic/tclOOInt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclOOInt.h b/generic/tclOOInt.h
index 342def6..5ded108 100644
--- a/generic/tclOOInt.h
+++ b/generic/tclOOInt.h
@@ -149,9 +149,9 @@ typedef struct {
*/
#define LIST_STATIC(listType_t) \
- struct { int num; listType_t *list; }
+ struct { size_t num; listType_t *list; }
#define LIST_DYNAMIC(listType_t) \
- struct { int num, size; listType_t *list; }
+ struct { size_t num, size; listType_t *list; }
/*
* These types are needed in function arguments.
@@ -604,7 +604,7 @@ MODULE_SCOPE Foundation *TclOOGetFoundation(Tcl_Interp *interp);
MODULE_SCOPE Tcl_Obj * TclOOGetFwdFromMethod(Method *mPtr);
MODULE_SCOPE Proc * TclOOGetProcFromMethod(Method *mPtr);
MODULE_SCOPE Tcl_Obj * TclOOGetMethodBody(Method *mPtr);
-MODULE_SCOPE int TclOOGetSortedClassMethodList(Class *clsPtr,
+MODULE_SCOPE size_t TclOOGetSortedClassMethodList(Class *clsPtr,
int flags, const char ***stringsPtr);
MODULE_SCOPE int TclOOGetSortedMethodList(Object *oPtr,
Object *contextObj, Class *contextCls, int flags,