ref: 4af636fad493a0d2f5f2e10b3c4d72ad2c0a29a7
parent: 275328341ba0825f3eac0af8aa1bf62e8510792c
author: Jacob Moody <moody@posixcafe.org>
date: Sat Feb 25 13:58:26 EST 2023
npe: crude mb* alias
--- a/include/npe/wchar.h
+++ b/include/npe/wchar.h
@@ -1,1 +1,6 @@
#include <npe.h>
+
+typedef Rune wchar_t;
+
+#define mblen(r,n) (utfnlen(r, n))
+#define mbtowc(r,s,n) (chartorune(r,s))