]> git.lizzy.rs Git - minetest.git/blobdiff - src/util/string.h
Fix segfaults caused by the Environment not being initialized yet
[minetest.git] / src / util / string.h
index 6980060e43b060756c760f0cdff0f5cf2495a83c..793baad0ea729f90c3731ea741bca26f2ca3fccf 100644 (file)
@@ -47,6 +47,8 @@ struct FlagDesc {
 std::wstring utf8_to_wide(const std::string &input);
 std::string wide_to_utf8(const std::wstring &input);
 
+wchar_t *utf8_to_wide_c(const char *str);
+
 // NEVER use those two functions unless you have a VERY GOOD reason to
 // they just convert between wide and multibyte encoding
 // multibyte encoding depends on current locale, this is no good, especially on Windows