fix: finish basic export test on Virtools 5 environment
This commit is contained in:
@@ -8,12 +8,16 @@ namespace VSW {
|
||||
|
||||
void Reporter::PrePrint(const YYCC::yycc_char8_t* strl) const {}
|
||||
|
||||
#define GENERIC_REPORTER_WRITE(ty, data) YYCC::ConsoleHelper::Write(YYCC_U8("[" #ty "] ")); \
|
||||
YYCC::ConsoleHelper::WriteLine(data);
|
||||
#define GENERIC_REPORTER_FORMAT(ty, data) YYCC::ConsoleHelper::Write(YYCC_U8("[" #ty "] ")); \
|
||||
va_list argptr; \
|
||||
#define GENERIC_REPORTER_WRITE(ty, data) YYCC::yycc_u8string cache(YYCC_U8("[" #ty "] ")); \
|
||||
cache += data; \
|
||||
this->PrePrint(cache.c_str()); \
|
||||
YYCC::ConsoleHelper::WriteLine(cache.c_str());
|
||||
#define GENERIC_REPORTER_FORMAT(ty, data) va_list argptr; \
|
||||
va_start(argptr, data); \
|
||||
YYCC::ConsoleHelper::WriteLine(YYCC::StringHelper::VPrintf(data, argptr).c_str()); \
|
||||
YYCC::yycc_u8string cache(YYCC::StringHelper::VPrintf(data, argptr)); \
|
||||
cache.insert(0u, YYCC_U8("[" #ty "] ")); \
|
||||
this->PrePrint(cache.c_str()); \
|
||||
YYCC::ConsoleHelper::WriteLine(cache.c_str()); \
|
||||
va_end(argptr);
|
||||
|
||||
void Reporter::Err(const YYCC::yycc_char8_t* strl) const {
|
||||
|
||||
Reference in New Issue
Block a user