mongoose/src/fmt.h

10 lines
336 B
C
Raw Normal View History

2022-07-28 10:18:17 +01:00
#pragma once
#include "arch.h"
typedef void (*mg_pfn_t)(char, void *); // Output function
2022-07-28 10:18:17 +01:00
typedef size_t (*mg_pm_t)(mg_pfn_t, void *, va_list *); // %M printer
2022-08-13 20:34:20 +01:00
size_t mg_vxprintf(void (*)(char, void *), void *, const char *fmt, va_list *);
size_t mg_xprintf(void (*fn)(char, void *), void *, const char *fmt, ...);