10 lines
258 B
C
10 lines
258 B
C
#pragma once
|
|
#include <CType.h>
|
|
#include <Types.h>
|
|
#include <stdarg.h>
|
|
|
|
#define _format(n, m) __attribute__((format(printf, n, m)))
|
|
|
|
typedef int (*callback_t)(char, void*);
|
|
|
|
isize cstyle_format(const char* format, callback_t callback, void* arg, va_list ap); |