mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-21 07:38:50 -05:00
18 lines
349 B
C
18 lines
349 B
C
|
#include "global.h"
|
||
|
|
||
|
s32 PrintUtils_VPrintf(PrintCallback* pfn, const char* fmt, va_list args) {
|
||
|
return _Printf(*pfn, pfn, fmt, args);
|
||
|
}
|
||
|
|
||
|
s32 PrintUtils_Printf(PrintCallback* pfn, const char* fmt, ...) {
|
||
|
s32 ret;
|
||
|
va_list args;
|
||
|
va_start(args, fmt);
|
||
|
|
||
|
ret = PrintUtils_VPrintf(pfn, fmt, args);
|
||
|
|
||
|
va_end(args);
|
||
|
|
||
|
return ret;
|
||
|
}
|