Update OpenAL-soft to 1.23.1-bc7cb17.

This commit is contained in:
Miku AuahDark
2024-03-20 11:06:03 +08:00
parent 4a512be715
commit 73a6fc9196
294 changed files with 44342 additions and 40077 deletions
+6 -6
View File
@@ -1,22 +1,22 @@
#ifndef AL_STRUTILS_H
#define AL_STRUTILS_H
#include <optional>
#include <string>
#include "aloptional.h"
#ifdef _WIN32
#include <string_view>
#include <wchar.h>
std::string wstr_to_utf8(const wchar_t *wstr);
std::wstring utf8_to_wstr(const char *str);
std::string wstr_to_utf8(std::wstring_view wstr);
std::wstring utf8_to_wstr(std::string_view str);
#endif
namespace al {
al::optional<std::string> getenv(const char *envname);
std::optional<std::string> getenv(const char *envname);
#ifdef _WIN32
al::optional<std::wstring> getenv(const wchar_t *envname);
std::optional<std::wstring> getenv(const wchar_t *envname);
#endif
} // namespace al