return get_utf8(string);
}
-#define FOR_EACH_FIELD(f, j, fr) for (j = 0; j < (fr)->nfields && \
- (f = id3_frame_field((fr), j)); j++)
-
static char *get_strings(struct id3_frame *fr)
{
- int j;
- union id3_field *field;
-
- FOR_EACH_FIELD(field, j, fr) {
+ for (int j = 0; j < fr->nfields; j++) {
+ union id3_field *field = id3_frame_field(fr, j);
enum id3_field_type type = id3_field_type(field);
if (type == ID3_FIELD_TYPE_STRINGLIST)