aboutsummaryrefslogtreecommitdiff
path: root/jim.h
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2020-03-05 08:58:10 +1000
committerSteve Bennett <steveb@workware.net.au>2020-03-05 22:38:34 +1000
commit2e8d9d5014cac46b9486a88307436f74a7a3784c (patch)
tree3eb3709e73578422767f4ef5783d0178706dbb42 /jim.h
parent44efa75c744f74698bd5ddb881842f91b75bd3d6 (diff)
downloadjimtcl-2e8d9d5014cac46b9486a88307436f74a7a3784c.zip
jimtcl-2e8d9d5014cac46b9486a88307436f74a7a3784c.tar.gz
jimtcl-2e8d9d5014cac46b9486a88307436f74a7a3784c.tar.bz2
jim.h: Change type of interp->lastCollectTime
Previously we stored lastCollectTime as time_t, but to support more easily enabling 64 bit vs 32 bit time_t, convert this to be JimClock() compatible (64 bit milliseconds). Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim.h')
-rw-r--r--jim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/jim.h b/jim.h
index f6d5f70..f156980 100644
--- a/jim.h
+++ b/jim.h
@@ -539,7 +539,7 @@ typedef struct Jim_Interp {
is running as sentinel to avoid to recursive
calls via the [collect] command inside
finalizers. */
- time_t lastCollectTime; /* unix time of the last GC execution */
+ jim_wide lastCollectTime; /* unix time of the last GC execution */
Jim_Obj *stackTrace; /* Stack trace object. */
Jim_Obj *errorProc; /* Name of last procedure which returned an error */
Jim_Obj *unknown; /* Unknown command cache */