diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-04-05 14:19:45 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-04-05 14:19:45 (GMT) |
commit | 4df4a598eb231cdc6d925b2330d883786b448e71 (patch) | |
tree | f3b3f8f97685f8433f3c2dd4509bb2e4908a79b5 /generic/tclIntDecls.h | |
parent | d206ee3c75c6f7e11fcc83dcc0152edf9dd94831 (diff) | |
download | tcl-4df4a598eb231cdc6d925b2330d883786b448e71.zip tcl-4df4a598eb231cdc6d925b2330d883786b448e71.tar.gz tcl-4df4a598eb231cdc6d925b2330d883786b448e71.tar.bz2 |
Use Tcl_GetIntForIndex() in testcases (tclTestObj.c) in stead of Tcl_GetWideIntFromObj().
Meant for Ashok, to show that we already have Tcl_GetSizeIntFromObj(). (I already planned this conversion for a long time, thanks, Ashok for reminding me)
Also some other cleanups
Diffstat (limited to 'generic/tclIntDecls.h')
-rw-r--r-- | generic/tclIntDecls.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIntDecls.h b/generic/tclIntDecls.h index ffd559d..e4c0b19 100644 --- a/generic/tclIntDecls.h +++ b/generic/tclIntDecls.h @@ -227,7 +227,7 @@ void TclpGetTime(Tcl_Time *time); /* Slot 79 is reserved */ /* Slot 80 is reserved */ /* 81 */ -EXTERN void * TclpRealloc(void *ptr, unsigned int size); +EXTERN void * TclpRealloc(void *ptr, TCL_HASH_TYPE size); /* Slot 82 is reserved */ /* Slot 83 is reserved */ /* Slot 84 is reserved */ @@ -751,7 +751,7 @@ typedef struct TclIntStubs { void (*reserved78)(void); void (*reserved79)(void); void (*reserved80)(void); - void * (*tclpRealloc) (void *ptr, unsigned int size); /* 81 */ + void * (*tclpRealloc) (void *ptr, TCL_HASH_TYPE size); /* 81 */ void (*reserved82)(void); void (*reserved83)(void); void (*reserved84)(void); |