X-Git-Url: http://git.draconx.ca/gitweb/dxcommon.git/blobdiff_plain/0ee27791cef1166e467dc0b3eba88656d835ab32..02e6afe4c4956fd667dfefc04e8f129b5b84f709:/t/nls/mbswidth.h diff --git a/t/nls/mbswidth.h b/t/nls/mbswidth.h new file mode 100644 index 0000000..1c4fc56 --- /dev/null +++ b/t/nls/mbswidth.h @@ -0,0 +1,18 @@ +/* + * Copyright © 2023 Nick Bowler + * + * Simplified mbsnwidth for test purposes. + * + * License WTFPL2: Do What The Fuck You Want To Public License, version 2. + * This is free software: you are free to do what the fuck you want to. + * There is NO WARRANTY, to the extent permitted by law. + */ + +#ifndef TEST_NLS_MBSWIDTH_H_ +#define TEST_NLS_MBSWIDTH_H_ + +#include + +int mbsnwidth(const char *buf, size_t n, int flags); + +#endif