BarryServer : Git

All the code for all my projects
// BarryServer : Git / libBLOC / commit / 56139959c274c6a38f5d0fd0f3909a6b39f1ca1b / include / BLOC / list.h

// Related

libBLOC

Barry List peeking functions 5613995 (2 years, 10 months ago)
diff --git a/include/BLOC/list.h b/include/BLOC/list.h
index 964362b..6dc7721 100644
--- a/include/BLOC/list.h
+++ b/include/BLOC/list.h
@@ -27,6 +27,8 @@ void list_add(List *list, void *obj);
 void list_remove(List *list, void *obj);
 void *list_pop_head(List *list);
 void *list_pop_tail(List *list);
+void *list_peek_head(List *list);
+void *list_peek_tail(List *list);
 unsigned int list_count(List *list);
 
 #endif