@@ -182,9 +182,9 @@ ifelse(target_posix,“yes”,“ /* by convention, posix return values are 8-bit, * but note that many modern UNIXes do technically * support higher-bit values. for this reason, - * longstat is defined differently under posix. */ + * stat_long is defined differently under posix. */ typedef u8 stat; typedef u32 stat_long; ”,“dnl ifelse(atom_target_os,“win”,“ @@ -200,5 +200,12 @@ ”)”)dnl typedef stat stat_long; ”)dnl +/* unicode types */ + +typedef u32 codepoint; + /* a codepoint is a UTF-32 character */ +typedef u8 rune [5]; + /* a rune is a valid UTF-8 character terminated with a nul. */ + #endif