summary refs log tree commit diff
path: root/localedata/tests-mbwc/dat_tow-funcs.h
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/tests-mbwc/dat_tow-funcs.h')
-rw-r--r--localedata/tests-mbwc/dat_tow-funcs.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/localedata/tests-mbwc/dat_tow-funcs.h b/localedata/tests-mbwc/dat_tow-funcs.h
new file mode 100644
index 0000000000..44564374ce
--- /dev/null
+++ b/localedata/tests-mbwc/dat_tow-funcs.h
@@ -0,0 +1,24 @@
+/*
+ *  TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY
+ *
+ *       FILE:  dat_tow-funcs.h
+ *
+ *       ISW*:  int tow*( wint_t wc );
+ */
+
+#include <errno.h>
+#include <stdlib.h>
+#include <wctype.h>
+#include "tst_types.h"
+#include "tgn_locdef.h"
+
+#define TST_TOW_LOC(FUNC, func) \
+        TST_TOW## FUNC    tst_tow## func ##_loc[]
+
+#define TST_TOW_REC(locale, func) \
+        {  Ttow## func,    TST_LOC_## locale },
+
+/*
+ *  NOTE:
+ *        need more test data!
+ */