kiba-engine
kiba
format
format.h
1
#pragma once
2
3
#include <
kiba/defines.h
>
4
#include <kiba/format/buffer.h>
5
#include <kiba/format/options.h>
6
7
#define FORMAT_PADDING_CHAR ' '
8
9
typedef
b8 (*format_function)(
format_buffer
*buf,
format_options
options, VA_LIST *args);
10
#define FORMAT_FUNCTION(name) b8 name(format_buffer *buf, format_options options, VA_LIST *args)
11
12
b8 format_initialize(
void
);
13
b8 format_register_read_function(
const
char
*placeholder, format_function func);
14
b8 format_register_write_function(
const
char
*placeholder, format_function func);
15
void
format_shutdown(
void
);
16
17
b8 format(
format_buffer
*buf,
const
char
*fmt, ...);
18
b8 format_va_list(
format_buffer
*buf,
const
char
*fmt, VA_LIST *args);
defines.h
Global typedefs and macros.
format_buffer
Definition:
buffer.h:12
format_options
Definition:
options.h:5
Generated by
1.9.1