Skip to content
Snippets Groups Projects
Commit 6092e607 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

list: add static initializer macro

parent 9beda09d
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,11 @@ struct vlc_list
struct vlc_list *next;
};
/**
* Static initializer for a list head.
*/
#define VLC_LIST_INITIALIZER(h) { h, h }
/**
* Initializes an empty list head.
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment