summaryrefslogtreecommitdiffstats
path: root/generic/tclDate.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclDate.h')
-rw-r--r--generic/tclDate.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/generic/tclDate.h b/generic/tclDate.h
index 91e677f..6ba9620 100644
--- a/generic/tclDate.h
+++ b/generic/tclDate.h
@@ -19,9 +19,6 @@
typedef struct DateInfo {
- Tcl_Obj* messages; /* Error messages */
- const char* separatrix; /* String separating messages */
-
time_t dateYear;
time_t dateMonth;
time_t dateDay;
@@ -54,6 +51,9 @@ typedef struct DateInfo {
time_t *dateRelPointer;
int dateDigitCount;
+
+ Tcl_Obj* messages; /* Error messages */
+ const char* separatrix; /* String separating messages */
} DateInfo;
@@ -74,4 +74,11 @@ MODULE_SCOPE time_t ToSeconds(time_t Hours, time_t Minutes,
MODULE_SCOPE int TclClockFreeScan(Tcl_Interp *interp, DateInfo *info);
+/*
+ * Other externals.
+ */
+
+MODULE_SCOPE unsigned long TclEnvEpoch; /* Epoch of the tcl environment
+ * (if changed with tcl-env). */
+
#endif /* _TCLCLOCK_H */