2016-07-01 14:01:06 +01:00
|
|
|
/* This file is part of the dynarmic project.
|
|
|
|
* Copyright (c) 2016 MerryMage
|
|
|
|
* This software may be used and distributed according to the terms of the GNU
|
|
|
|
* General Public License version 2 or any later version.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace Dynarmic {
|
|
|
|
namespace Common {
|
|
|
|
|
2016-07-12 13:25:33 +01:00
|
|
|
std::string StringFromFormat(
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
_Printf_format_string_
|
|
|
|
#endif
|
|
|
|
const char* format, ...)
|
|
|
|
#ifdef __GNUC__
|
|
|
|
__attribute__((format(gnu_printf, 1, 2)))
|
|
|
|
#endif
|
|
|
|
;
|
2016-07-01 14:01:06 +01:00
|
|
|
|
|
|
|
} // namespace Common
|
|
|
|
} // namespace Dynarmic
|