mirror of
https://github.com/gbdk-2020/gbdk-2020.git
synced 2026-03-03 14:05:53 +01:00
12 lines
250 B
C
12 lines
250 B
C
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
|
|
void __printf(const char *format, void *emitter, char **pData, va_list va);
|
|
|
|
void printf(const char *format, ...) {
|
|
va_list va;
|
|
va_start(va, format);
|
|
|
|
__printf(format, (void *)putchar, NULL, va);
|
|
}
|