summaryrefslogtreecommitdiffstats
path: root/generic/tclDate.h
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2017-01-10 22:28:25 (GMT)
committersebres <sebres@users.sourceforge.net>2017-01-10 22:28:25 (GMT)
commit5afae758b98de2da47b30d6aa4b40a5d5a604fbc (patch)
tree9bea9e914a912fb419e1f480d397197c4362a28a /generic/tclDate.h
parent7b6cd1089c2d3a6eeb8f12b106af40c18017c8f3 (diff)
downloadtcl-5afae758b98de2da47b30d6aa4b40a5d5a604fbc.zip
tcl-5afae758b98de2da47b30d6aa4b40a5d5a604fbc.tar.gz
tcl-5afae758b98de2da47b30d6aa4b40a5d5a604fbc.tar.bz2
improve LocalizeFormat, internal caching of localized formats inside msgcat for locale and format objects
smart reference introduced in dict (smart pointer with 0 object reference but increase dict-reference, provide changeable locale dict)
Diffstat (limited to 'generic/tclDate.h')
-rw-r--r--generic/tclDate.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/generic/tclDate.h b/generic/tclDate.h
index 1c51a02..62fa693 100644
--- a/generic/tclDate.h
+++ b/generic/tclDate.h
@@ -345,10 +345,6 @@ typedef struct ClockFmtScnStorage {
* stored by offset +sizeof(self) */
} ClockFmtScnStorage;
-typedef struct ClockLitStorage {
- int dummy;
-} ClockLitStorage;
-
/*
* Prototypes of module functions.
*/
@@ -366,9 +362,15 @@ MODULE_SCOPE Tcl_Obj *
ClockMCGet(ClockFmtScnCmdArgs *opts, int mcKey);
MODULE_SCOPE Tcl_Obj *
ClockMCGetListIdxDict(ClockFmtScnCmdArgs *opts, int mcKey);
+MODULE_SCOPE Tcl_Obj *
+ ClockLocalizeFormat(ClockFmtScnCmdArgs *opts);
/* tclClockFmt.c module declarations */
+MODULE_SCOPE Tcl_Obj*
+ ClockFrmObjGetLocFmtKey(Tcl_Interp *interp,
+ Tcl_Obj *objPtr);
+
MODULE_SCOPE ClockFmtScnStorage *
Tcl_GetClockFrmScnFromObj(Tcl_Interp *interp,
Tcl_Obj *objPtr);