X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/blobdiff_plain/7e976207d0b19baf112b216d64a8cf6a8af1069f..bb9e7835935e7a2098f2ce27964342d4c4557e3f:/halibut.h diff --git a/halibut.h b/halibut.h index 69953b6..f3de665 100644 --- a/halibut.h +++ b/halibut.h @@ -293,6 +293,12 @@ wchar_t *ustrftime(wchar_t *fmt, struct tm *timespec); int cvt_ok(int charset, const wchar_t *s); /* + * wcwidth.c + */ +int strwid(char const *s, int charset); +int ustrwid(wchar_t const *s, int charset); + +/* * help.c */ void help(void); @@ -342,7 +348,7 @@ char *rdtrimc(rdstringc *rs); int compare_wordlists(word *a, word *b); -void mark_attr_ends(paragraph *sourceform); +void mark_attr_ends(word *words); typedef struct tagWrappedLine wrappedline; struct tagWrappedLine {