Yet Another eXchange Tool 0.11.2
|
Go to the source code of this file.
Classes | |
struct | Xt_modifier |
Functions | |
Xt_idxlist | xt_idxmod_new (Xt_idxlist patch_idxlist, struct Xt_modifier *modifier, int modifier_num, int *mstate) |
generates a new index list based on an index list and a sequence of modifiers | |
Definition in file xt_idxmod.h.
Xt_idxlist xt_idxmod_new | ( | Xt_idxlist | patch_idxlist, |
struct Xt_modifier * | modifier, | ||
int | modifier_num, | ||
int * | mstate ) |
generates a new index list based on an index list and a sequence of modifiers
In the new index list all occurences of indices listed in the modifier extract list are replaced by respective indices of the modifier substitute list. Multiple modifiers are applied consecutively to the input index list. If a modification state array is given then it will be updated using the mask values in the used modifiers (OR operation). An update only affects indices that are modified by the respective modifier.
[in] | patch_idxlist | input index list |
[in] | modifier | array of modifiers |
[in] | modifier_num | number of modifiers |
[in,out] | mstate | modification state |
Definition at line 62 of file xt_idxmod.c.