Adaptive Framework
0.9.0
|
Files | |
file | afw_log_impl_declares.h |
Interface afw_interface implementation declares. | |
Macros | |
#define | __AFW_LOG_IMPL_DECLARES_H__ 1 |
#define | _AFW_IMPLEMENTATION_ID_ "unspecified" |
#define | _AFW_IMPLEMENTATION_SPECIFIC_ NULL |
#define | _AFW_IMPLEMENTATION_SOURCE_FILE_ __FILE__ |
Functions | |
impl_afw_log_destroy (const afw_log_t *instance, afw_xctx_t *xctx) | |
impl_afw_log_set_own_mask (const afw_log_t *instance, afw_log_priority_mask_t mask, afw_xctx_t *xctx) | |
impl_afw_log_write (const afw_log_t *instance, afw_log_priority_t priority, const afw_utf8_z_t *source_z, const afw_utf8_t *message, afw_xctx_t *xctx) | |
This file should only be included in c source files that implement interface afw_log.
You can find a skeleton for using this #include file in the corresponding source directory in file generated/interface_closet/skeleton_afw_log.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_log_impl_declares.h:
Before including, define the following symbols:
Example:
impl_afw_log_write | ( | const afw_log_t * | instance, |
afw_log_priority_t | priority, | ||
const afw_utf8_z_t * | source_z, | ||
const afw_utf8_t * | message, | ||
afw_xctx_t * | xctx | ||
) |