Wed, 01 Feb 2023 18:07:16 +0100
reformat file
src/printf.c | file | annotate | diff | comparison | revisions |
--- a/src/printf.c Wed Feb 01 18:06:50 2023 +0100 +++ b/src/printf.c Wed Feb 01 18:07:16 2023 +0100 @@ -49,7 +49,12 @@ return ret; } -int cx_vfprintf(void *stream, cx_write_func wfc, char const *fmt, va_list ap) { +int cx_vfprintf( + void *stream, + cx_write_func wfc, + char const *fmt, + va_list ap +) { char buf[CX_PRINTF_SBO_SIZE]; va_list ap2; va_copy(ap2, ap); @@ -74,7 +79,11 @@ return ret; } -cxmutstr cx_asprintf_a(CxAllocator *allocator, char const *fmt, ...) { +cxmutstr cx_asprintf_a( + CxAllocator *allocator, + char const *fmt, + ... +) { va_list ap; cxmutstr ret; va_start(ap, fmt); @@ -83,7 +92,11 @@ return ret; } -cxmutstr cx_vasprintf_a(CxAllocator *a, char const *fmt, va_list ap) { +cxmutstr cx_vasprintf_a( + CxAllocator *a, + char const *fmt, + va_list ap +) { cxmutstr s; s.ptr = NULL; s.length = 0;