Adaptive Framework
0.9.0
|
Files | |
file | afw_list_impl.h |
Helpers for list implementation development. | |
Macros | |
#define | AFW_LIST_IMPL_ASSERT_SELF_MUTABLE |
Functions | |
afw_list_impl_get_entry_meta (const afw_list_t *instance, afw_integer_t index, const afw_pool_t *p, afw_xctx_t *xctx) | |
A general impl of method get_entry_meta for interface afw_list. More... | |
const afw_value_t * | afw_list_external_impl_get_entry_meta (const afw_list_t *instance, afw_integer_t index, const afw_pool_t *p, afw_xctx_t *xctx) |
A general impl of method get_entry_meta for interface afw_list that can be accessed externally. More... | |
afw_list_impl_get_next_entry_meta (const afw_list_t *instance, const afw_iterator_t **iterator, const afw_pool_t *p, afw_xctx_t *xctx) | |
A general impl of method get_next_entry_meta for interface afw_list. More... | |
const afw_value_t * | afw_list_external_impl_get_next_entry_meta (const afw_list_t *instance, const afw_iterator_t **iterator, const afw_pool_t *p, afw_xctx_t *xctx) |
A general impl of method get_next_entry_meta for interface afw_list that can be accessed externally. More... | |
#define AFW_LIST_IMPL_ASSERT_SELF_MUTABLE |
Definition at line 27 of file afw_list_impl.h.
const afw_value_t* afw_list_external_impl_get_entry_meta | ( | const afw_list_t * | instance, |
afw_integer_t | index, | ||
const afw_pool_t * | p, | ||
afw_xctx_t * | xctx | ||
) |
A general impl of method get_entry_meta for interface afw_list that can be accessed externally.
instance | of list. |
index | of entry to get meta for. |
p | for result. |
xctx | of caller. |
Function afw_list_impl_get_entry_meta() can not be used directly in separate dlls or exes.
Use the following implementation of impl_afw_list_get_entry_meta() to access afw_list_impl_get_entry_meta():
const afw_value_t * impl_afw_list_get_entry_meta( const afw_list_t * instance, afw_integer_t index, afw_xctx_t *xctx) { return afw_list_external_impl_get_entry_meta( instance, index, p, xctx); }
Definition at line 80 of file afw_list_impl.c.
const afw_value_t* afw_list_external_impl_get_next_entry_meta | ( | const afw_list_t * | instance, |
const afw_iterator_t ** | iterator, | ||
const afw_pool_t * | p, | ||
afw_xctx_t * | xctx | ||
) |
A general impl of method get_next_entry_meta for interface afw_list that can be accessed externally.
instance | of list. |
iterator | pointer (set to NULL before first call) |
p | for result. |
xctx | of caller. |
Function afw_list_impl_get_next_entry_meta() can not be used directly in separate dlls or exes.
Use the following implementation of impl_afw_list_get_next_entry_meta() to access afw_list_impl_get_next_entry_meta():
const afw_value_t * impl_afw_list_get_next_entry_meta( const afw_list_t *instance, const afw_iterator_t **iterator, afw_xctx_t *xctx) { return afw_list_external_impl_get_next_entry_meta( instance, iterator, p, xctx); }
Definition at line 97 of file afw_list_impl.c.
afw_list_impl_get_entry_meta | ( | const afw_list_t * | instance, |
afw_integer_t | index, | ||
const afw_pool_t * | p, | ||
afw_xctx_t * | xctx | ||
) |
A general impl of method get_entry_meta for interface afw_list.
instance | of list. |
index | of entry to get meta for. |
p | for result. |
xctx | of caller. |
To use in implementation, add the following lines after the #includes in the implementation source:
#define impl_afw_list_get_entry_meta \ afw_list_impl_get_entry_meta
Definition at line 22 of file afw_list_impl.c.
afw_list_impl_get_next_entry_meta | ( | const afw_list_t * | instance, |
const afw_iterator_t ** | iterator, | ||
const afw_pool_t * | p, | ||
afw_xctx_t * | xctx | ||
) |
A general impl of method get_next_entry_meta for interface afw_list.
instance | of list. |
iterator | pointer (set to NULL before first call) |
p | for result. |
xctx | of caller. |
To use in implementation, add the following lines after the #includes in the implementation source:
#define impl_afw_list_get_next_entry_meta \ afw_list_impl_get_next_entry_meta
Definition at line 51 of file afw_list_impl.c.