 |
PK_ATTDEF_copy_callback_f_t |
|
typedef void (*PK_ATTDEF_copy_callback_f_t)
(
--- received arguments ---
PK_ENTITY_t old_entity, --- pre-existing entity
int n_attribs, --- number of attribs on 'old_entity'
const PK_ATTRIB_t attribs[], --- attribs on 'old_entity'
PK_ENTITY_t new_entity --- the new copy of 'old_entity'
);
This is the type of a copy attribute callback function.
Used in:
PK_ATTDEF_callback_fns_t
The function is called after the copy has occurred. There are no attributes on
the 'new_entity'. All 'attribs' have the attribute definition with which the
attribute callback function has been associated by PK_ATTDEF_register_cb.