Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
htsmsg: add HTSMSG_FIRST()
  • Loading branch information
perexg committed Nov 19, 2015
1 parent ccfbe31 commit 769f8f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/htsmsg.h
Expand Up @@ -87,6 +87,7 @@ typedef struct htsmsg_field {
#define htsmsg_get_list_by_field(f) htsmsg_field_get_list(f)

#define HTSMSG_FOREACH(f, msg) TAILQ_FOREACH(f, &(msg)->hm_fields, hmf_link)
#define HTSMSG_FIRST(msg) TAILQ_FIRST(&(msg)->hm_fields)

/**
* Create a new map
Expand Down

0 comments on commit 769f8f5

Please sign in to comment.