Removing C leftovers.
This commit is contained in:
parent
fda1ae54bc
commit
764e21abd6
18
emit.c
18
emit.c
|
@ -1,18 +0,0 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#define _(...) emit(__VA_ARGS__, NULL);
|
||||
|
||||
void emit(const char *text, ...) {
|
||||
va_list args;
|
||||
va_start(args, text);
|
||||
|
||||
const char *t;
|
||||
for (t = text; t != NULL; t = va_arg(args, const char *)) {
|
||||
printf("%s", t);
|
||||
}
|
||||
|
||||
va_end(args);
|
||||
}
|
||||
|
Reference in New Issue
Block a user