Adaptive Framework
0.9.0
|
Files | |
file | afw_writer_impl_declares.h |
Interface afw_interface implementation declares. | |
Macros | |
#define | __AFW_WRITER_IMPL_DECLARES_H__ 1 |
#define | _AFW_IMPLEMENTATION_ID_ "unspecified" |
#define | _AFW_IMPLEMENTATION_SPECIFIC_ NULL |
#define | _AFW_IMPLEMENTATION_SOURCE_FILE_ __FILE__ |
Functions | |
impl_afw_writer_release (const afw_writer_t *instance, afw_xctx_t *xctx) | |
impl_afw_writer_flush (const afw_writer_t *instance, afw_xctx_t *xctx) | |
impl_afw_writer_write (const afw_writer_t *instance, const void *buffer, afw_size_t size, afw_xctx_t *xctx) | |
impl_afw_writer_write_eol (const afw_writer_t *instance, afw_xctx_t *xctx) | |
impl_afw_writer_increment_indent (const afw_writer_t *instance, afw_xctx_t *xctx) | |
impl_afw_writer_decrement_indent (const afw_writer_t *instance, afw_xctx_t *xctx) | |
This file should only be included in c source files that implement interface afw_writer.
You can find a skeleton for using this #include file in the corresponding source directory in file generated/interface_closet/skeleton_afw_writer.c.
Mutiple *_impl.declares.h can be included in each c source file, but only one for each interface name.
After the #include for afw_writer_impl_declares.h:
Before including, define the following symbols:
Example:
impl_afw_writer_write | ( | const afw_writer_t * | instance, |
const void * | buffer, | ||
afw_size_t | size, | ||
afw_xctx_t * | xctx | ||
) |
Definition at line 125 of file afw_utf8_writer.c.
impl_afw_writer_write_eol | ( | const afw_writer_t * | instance, |
afw_xctx_t * | xctx | ||
) |
Definition at line 160 of file afw_utf8_writer.c.