|
@@ -28,15 +28,15 @@ Push \p task at the front of \p list
|
|
|
\ingroup API_Task_Lists
|
|
|
Push \p task at the back of \p list
|
|
|
|
|
|
-\fn struct starpu_task *starpu_task_list_front(struct starpu_task_list *list)
|
|
|
+\fn struct starpu_task *starpu_task_list_front(const struct starpu_task_list *list)
|
|
|
\ingroup API_Task_Lists
|
|
|
Get the front of \p list (without removing it)
|
|
|
|
|
|
-\fn struct starpu_task *starpu_task_list_back(struct starpu_task_list *list)
|
|
|
+\fn struct starpu_task *starpu_task_list_back(const struct starpu_task_list *list)
|
|
|
\ingroup API_Task_Lists
|
|
|
Get the back of \p list (without removing it)
|
|
|
|
|
|
-\fn int starpu_task_list_empty(struct starpu_task_list *list)
|
|
|
+\fn int starpu_task_list_empty(const struct starpu_task_list *list)
|
|
|
\ingroup API_Task_Lists
|
|
|
Test if \p list is empty
|
|
|
|
|
@@ -52,19 +52,19 @@ Remove the element at the front of \p list
|
|
|
\ingroup API_Task_Lists
|
|
|
Remove the element at the back of \p list
|
|
|
|
|
|
-\fn struct starpu_task *starpu_task_list_begin(struct starpu_task_list *list)
|
|
|
+\fn struct starpu_task *starpu_task_list_begin(const struct starpu_task_list *list)
|
|
|
\ingroup API_Task_Lists
|
|
|
Get the first task of \p list.
|
|
|
|
|
|
-\fn struct starpu_task *starpu_task_list_end(struct starpu_task_list *list)
|
|
|
+\fn struct starpu_task *starpu_task_list_end(const struct starpu_task_list *list)
|
|
|
\ingroup API_Task_Lists
|
|
|
Get the end of \p list.
|
|
|
|
|
|
-\fn struct starpu_task *starpu_task_list_next(struct starpu_task *task)
|
|
|
+\fn struct starpu_task *starpu_task_list_next(const struct starpu_task *task)
|
|
|
\ingroup API_Task_Lists
|
|
|
Get the next task of \p list. This is not erase-safe.
|
|
|
|
|
|
-\fn int starpu_task_list_ismember(struct starpu_task_list *list, struct starpu_task *look)
|
|
|
+\fn int starpu_task_list_ismember(const struct starpu_task_list *list, const struct starpu_task *look)
|
|
|
\ingroup API_Task_Lists
|
|
|
Test whether the given task \p look is contained in the \p list.
|
|
|
|