2020-10-03 15:22:44 +00:00
|
|
|
#include "global.h"
|
2020-04-08 16:36:15 +00:00
|
|
|
|
2021-08-30 00:08:41 +00:00
|
|
|
s32 PrintUtils_VPrintf(PrintCallback* pfn, const char* fmt, va_list args) {
|
|
|
|
return _Printf(*pfn, pfn, fmt, args);
|
2020-04-08 16:36:15 +00:00
|
|
|
}
|
|
|
|
|
2021-08-30 00:08:41 +00:00
|
|
|
s32 PrintUtils_Printf(PrintCallback* pfn, const char* fmt, ...) {
|
2021-09-07 16:17:19 +00:00
|
|
|
s32 ret;
|
2020-04-08 16:36:15 +00:00
|
|
|
va_list args;
|
|
|
|
va_start(args, fmt);
|
|
|
|
|
2021-09-07 16:17:19 +00:00
|
|
|
ret = PrintUtils_VPrintf(pfn, fmt, args);
|
|
|
|
|
|
|
|
va_end(args);
|
|
|
|
|
|
|
|
return ret;
|
2020-04-08 16:36:15 +00:00
|
|
|
}
|