X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=utf8.h;h=24a5fdc6985a99b7d56d94199fac27fa2d32fe34;hb=62f28c55d444d846579159133dbe091809a2c08b;hp=ccc535af9e0ea4ce673a940a202ac837857184e0;hpb=800ca0c4f150de75c38c87a59d18878b0341f16b;p=nssm.git diff --git a/utf8.h b/utf8.h index ccc535a..24a5fdc 100644 --- a/utf8.h +++ b/utf8.h @@ -1,13 +1,13 @@ -#ifndef UTF8_H -#define UTF8_H - -void setup_utf8(); -void unsetup_utf8(); -int to_utf8(const wchar_t *, char **, unsigned long *); -int to_utf8(const char *, char **, unsigned long *); -int to_utf16(const char *, wchar_t **utf16, unsigned long *); -int to_utf16(const wchar_t *, wchar_t **utf16, unsigned long *); -int from_utf8(const char *, TCHAR **, unsigned long *); -int from_utf16(const wchar_t *, TCHAR **, unsigned long *); - -#endif +#ifndef UTF8_H +#define UTF8_H + +void setup_utf8(); +void unsetup_utf8(); +int to_utf8(const wchar_t *, char **, unsigned long *); +int to_utf8(const char *, char **, unsigned long *); +int to_utf16(const char *, wchar_t **utf16, unsigned long *); +int to_utf16(const wchar_t *, wchar_t **utf16, unsigned long *); +int from_utf8(const char *, TCHAR **, unsigned long *); +int from_utf16(const wchar_t *, TCHAR **, unsigned long *); + +#endif