regenerated stuff
This commit is contained in:
parent
c284eb3786
commit
2e811bcec2
61 changed files with 1022 additions and 1697 deletions
|
|
@ -10,14 +10,17 @@
|
|||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "me/mem/mem.h"
|
||||
#include "me/mem/mem.h"
|
||||
#include "me/mem/mem.h"
|
||||
#include "me/types.h"
|
||||
#include "me/vec/vec_pid.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
t_error vec_pid_find(t_vec_pid *vec, bool (*fn)(const t_pid *), t_usize *index)
|
||||
t_error vec_pid_find(t_vec_pid *vec,
|
||||
bool (*fn)(const t_pid *), t_usize *index)
|
||||
{
|
||||
t_usize idx;
|
||||
t_usize idx;
|
||||
|
||||
if (vec == NULL || fn == NULL || index == NULL)
|
||||
return (ERROR);
|
||||
|
|
@ -34,10 +37,11 @@ t_error vec_pid_find(t_vec_pid *vec, bool (*fn)(const t_pid *), t_usize *index)
|
|||
return (ERROR);
|
||||
}
|
||||
|
||||
t_error vec_pid_find_starting(t_vec_pid *vec, bool (*fn)(const t_pid *),
|
||||
t_usize starting_index, t_usize *index)
|
||||
t_error vec_pid_find_starting(t_vec_pid *vec,
|
||||
bool (*fn)(const t_pid *),
|
||||
t_usize starting_index, t_usize *index)
|
||||
{
|
||||
t_usize idx;
|
||||
t_usize idx;
|
||||
|
||||
if (vec == NULL || fn == NULL || index == NULL)
|
||||
return (ERROR);
|
||||
|
|
@ -54,9 +58,10 @@ t_error vec_pid_find_starting(t_vec_pid *vec, bool (*fn)(const t_pid *),
|
|||
return (ERROR);
|
||||
}
|
||||
|
||||
t_error vec_pid_all(t_vec_pid *vec, bool (*fn)(const t_pid *), bool *result)
|
||||
t_error vec_pid_all(t_vec_pid *vec,
|
||||
bool (*fn)(const t_pid *), bool *result)
|
||||
{
|
||||
t_usize idx;
|
||||
t_usize idx;
|
||||
|
||||
if (vec == NULL || fn == NULL || result == NULL)
|
||||
return (ERROR);
|
||||
|
|
@ -71,9 +76,10 @@ t_error vec_pid_all(t_vec_pid *vec, bool (*fn)(const t_pid *), bool *result)
|
|||
return (ERROR);
|
||||
}
|
||||
|
||||
t_error vec_pid_any(t_vec_pid *vec, bool (*fn)(const t_pid *), bool *result)
|
||||
t_error vec_pid_any(t_vec_pid *vec,
|
||||
bool (*fn)(const t_pid *), bool *result)
|
||||
{
|
||||
t_usize idx;
|
||||
t_usize idx;
|
||||
|
||||
if (vec == NULL || fn == NULL || result == NULL)
|
||||
return (ERROR);
|
||||
|
|
@ -88,13 +94,15 @@ t_error vec_pid_any(t_vec_pid *vec, bool (*fn)(const t_pid *), bool *result)
|
|||
return (ERROR);
|
||||
}
|
||||
|
||||
void vec_pid_iter(t_vec_pid *vec, void (*fn)(t_usize index, t_pid *value,
|
||||
void *state), void *state)
|
||||
void vec_pid_iter(t_vec_pid *vec,
|
||||
void (*fn)(t_usize index, t_pid *value,
|
||||
void *state),
|
||||
void *state)
|
||||
{
|
||||
t_usize idx;
|
||||
t_usize idx;
|
||||
|
||||
if (vec == NULL || fn == NULL)
|
||||
return ;
|
||||
return;
|
||||
idx = 0;
|
||||
while (idx < vec->len)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue