mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Common/CommonFuncs: Move interface into Common namespace
Gets these functions out of the global namespace.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user