Retag a framelist according to the given tagging function.
- Parameters
-
self | Framelist with frames to retag |
pftag | Function to create a new tag for one frame |
pntags | On success, number of new tags in framelist, otherwise undef |
- Returns
- List of new tags or NULL on error
- Note
- (*pftag)() must return a newly allocated pointer. It must indicate an error by returning NULL and by setting a CPL error code. On error some of the the tags in the framelist may be modified. The integer parameter to (*pftag)() is its index in the framelist (starting with zero).
Definition at line 176 of file naco_utils.c.