Adaptive Framework
0.9.0
|
Files | |
file | afw_adaptor.h |
Header for interface afw_adaptor* helpers. | |
Macros | |
#define | afw_writer_write_z(writer, s_z, xctx) afw_writer_write(writer, s_z, strlen(s_z), xctx) |
Call afw_writer_write() with zero terminated string. More... | |
#define | afw_writer_write_utf8(writer, S, xctx) afw_writer_write(writer, (S)->s, (S)->len, xctx) |
Call afw_writer_write() with a afw_utf8_t string. More... | |
Functions | |
void | afw_writer_write_integer (const afw_writer_t *writer, afw_integer_t integer, afw_xctx_t *xctx) |
Call afw_writer_write() with an integer. More... | |
void | afw_writer_write_size (const afw_writer_t *writer, afw_size_t size, afw_xctx_t *xctx) |
Call afw_writer_write() with an size. More... | |
Provide afw_writer interface common support.
#define afw_writer_write_utf8 | ( | writer, | |
S, | |||
xctx | |||
) | afw_writer_write(writer, (S)->s, (S)->len, xctx) |
Call afw_writer_write() with a afw_utf8_t string.
writer | instance. |
s | utf8 string. |
xctx | of caller. |
Definition at line 45 of file afw_writer.h.
#define afw_writer_write_z | ( | writer, | |
s_z, | |||
xctx | |||
) | afw_writer_write(writer, s_z, strlen(s_z), xctx) |
Call afw_writer_write() with zero terminated string.
writer | instance. |
s_z | zero terminated string to write. |
xctx | of caller. |
Definition at line 35 of file afw_writer.h.
void afw_writer_write_integer | ( | const afw_writer_t * | writer, |
afw_integer_t | integer, | ||
afw_xctx_t * | xctx | ||
) |
Call afw_writer_write() with an integer.
writer | instance. |
integer | to write as as string. |
xctx | of caller. |
Definition at line 146 of file afw_writer.c.
void afw_writer_write_size | ( | const afw_writer_t * | writer, |
afw_size_t | size, | ||
afw_xctx_t * | xctx | ||
) |
Call afw_writer_write() with an size.
writer | instance. |
size | to write as string. |
xctx | of caller. |
Definition at line 162 of file afw_writer.c.