2015-08-17 05:26:58 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
#include "CBasics.hpp"
|
|
|
|
|
2015-08-17 22:05:00 +00:00
|
|
|
namespace Retro
|
|
|
|
{
|
|
|
|
|
2015-08-17 05:26:58 +00:00
|
|
|
void CBasics::Init()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
const char* CBasics::Stringize(const char* fmt, ...)
|
|
|
|
{
|
2015-11-10 23:19:36 +00:00
|
|
|
static char STRINGIZE_STR[2048] = {0};
|
2015-08-17 05:26:58 +00:00
|
|
|
va_list ap;
|
|
|
|
va_start(ap, fmt);
|
|
|
|
vsnprintf(STRINGIZE_STR, 2048, fmt, ap);
|
|
|
|
va_end(ap);
|
|
|
|
return STRINGIZE_STR;
|
|
|
|
}
|
2015-08-17 22:05:00 +00:00
|
|
|
|
|
|
|
}
|