Luna/luna/Format.h
2022-11-19 15:53:58 +01:00

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);