 |
PK_pattern_callback_t |
|
struct PK_pattern_callback_s
{
PK_pattern_cb_f_t pattern_cb; --- callback function
--- (NULL)
PK_POINTER_t pattern_data; --- context data for the pattern
--- callback function (NULL)
int max_cb_positions; --- maximum number of positions
--- passed per call to 'pattern_cb'
--- (128)
PK_LOGICAL_t thread_safe; --- whether the 'pattern_cb'
--- callback is thread safe
--- (PK_LOGICAL_false)
};
typedef struct PK_pattern_callback_s PK_pattern_callback_t;
This structure contains data on the callback to be applied to the positions
Specific Errors:
Used in:
PK_BODY_make_patterned_o_t
PK_LATTICE_make_patterned_o_t
Description of fields:
'pattern_cb' Callback function
'pattern_data' Context data for the pattern callback function
'max_cb_positions' Maximum number of positions passed per call to 'pattern_cb'
'thread_safe' Whether the 'pattern_cb' callback is thread safe