summaryrefslogtreecommitdiff
path: root/support/dktools/dk4ftimedk.ctr
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/dktools/dk4ftimedk.ctr
Initial commit
Diffstat (limited to 'support/dktools/dk4ftimedk.ctr')
-rw-r--r--support/dktools/dk4ftimedk.ctr34
1 files changed, 34 insertions, 0 deletions
diff --git a/support/dktools/dk4ftimedk.ctr b/support/dktools/dk4ftimedk.ctr
new file mode 100644
index 0000000000..d9a82b4059
--- /dev/null
+++ b/support/dktools/dk4ftimedk.ctr
@@ -0,0 +1,34 @@
+%% options
+
+copyright owner = Dirk Krause
+copyright year = 2015-xxxx
+license = bsd
+
+
+
+%% module
+
+#include "dk4ftime.h"
+
+#ifndef DK4TIMEWC_H_INCLUDED
+#include "dk4timewc.h"
+#endif
+
+#include "dk4ftime.h"
+
+
+int
+dk4filetime_to_text(
+ dkChar *dptr,
+ size_t dsz,
+ const dk4_file_time_t *fit,
+ dk4_er_t *erp
+)
+{
+#if DK4_CHAR_SIZE > 1
+ return (dk4filetime_to_text_wc(dptr, dsz, fit, erp));
+#else
+ return (dk4filetime_to_text_c8(dptr, dsz, fit, erp));
+#endif
+}
+