Common/CommonFuncs: Move interface into Common namespace

Gets these functions out of the global namespace.
This commit is contained in:
Lioncash
2023-04-18 12:50:31 -04:00
parent 361ffd5917
commit f1ad43afaf
8 changed files with 19 additions and 12 deletions

View File

@ -39,6 +39,8 @@ __declspec(dllimport) void __stdcall DebugBreak(void);
}
#endif // WIN32 ndef
namespace Common
{
// Wrapper function to get last strerror(errno) string.
// This function might change the error code.
std::string LastStrerrorString();
@ -51,3 +53,4 @@ std::string GetLastErrorString();
// Obtains a full path to the specified module.
std::optional<std::wstring> GetModuleName(void* hInstance);
#endif
} // namespace Common