diff options
author | Steve Bennett <steveb@workware.net.au> | 2020-03-05 08:58:10 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2020-03-05 22:38:34 +1000 |
commit | 2e8d9d5014cac46b9486a88307436f74a7a3784c (patch) | |
tree | 3eb3709e73578422767f4ef5783d0178706dbb42 /jim.h | |
parent | 44efa75c744f74698bd5ddb881842f91b75bd3d6 (diff) | |
download | jimtcl-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |