about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-08-15 17:19:16 +0000
committerClint Adams <clint@users.sourceforge.net>2005-08-15 17:19:16 +0000
commit987033eaf9591a5b2fc30b09dcf2a0a6266b9408 (patch)
treee1b19c6e7c79695c427f2ad9b60a7eda700bc1a7 /Src/Zle
parentb9d42d6a592603d34cb8b03813d1604c59b6912e (diff)
downloadzsh-987033eaf9591a5b2fc30b09dcf2a0a6266b9408.tar.gz
zsh-987033eaf9591a5b2fc30b09dcf2a0a6266b9408.tar.xz
zsh-987033eaf9591a5b2fc30b09dcf2a0a6266b9408.zip
21619: define wide versions of zarrdup, zputs, niceztrlen.
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/zle.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Src/Zle/zle.h b/Src/Zle/zle.h
index bbe3aeef3..2276f42b3 100644
--- a/Src/Zle/zle.h
+++ b/Src/Zle/zle.h
@@ -58,6 +58,11 @@ typedef wint_t   ZLE_INT_T;
 #define ZS_strcpy wcscpy
 #define ZS_strncpy wcsncpy
 #define ZS_strncmp wcsncmp
+#define ZS_zarrdup wcs_zarrdup
+#define ZS_width wcslen
+#define ZS_strchr wcschr
+#define ZS_zputs wcs_zputs
+#define ZS_nicewidth wcs_niceztrlen
 
 #define ZC_iblank iswspace
 #define ZC_icntrl iswcntrl
@@ -89,6 +94,11 @@ typedef int ZLE_INT_T;
 #define ZS_memmove memmove
 #define ZS_memset memset
 #define ZS_memcmp memcmp
+#define ZS_zarrdup zarrdup
+#define ZS_width ztrlen
+#define ZS_strchr strchr
+#define ZS_zputs zputs
+#define ZS_nicewidth niceztrlen
 
 #ifdef __GNUC__
 static inline size_t ZS_strlen(ZLE_STRING_T s)