style: noming env_iter
This commit is contained in:
parent
98a675e19e
commit
c6f713a6de
1 changed files with 8 additions and 10 deletions
18
output/src/hashmap/env/env_iter.c
vendored
18
output/src/hashmap/env/env_iter.c
vendored
|
|
@ -1,26 +1,24 @@
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
/* */
|
/* */
|
||||||
/* ::: :::::::: */
|
/* ::: :::::::: */
|
||||||
/* hashmap_env.h :+: :+: :+: */
|
/* env_iter.c :+: :+: :+: */
|
||||||
/* +:+ +:+ +:+ */
|
/* +:+ +:+ +:+ */
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2023/12/06 11:00:22 by maiboyer #+# #+# */
|
/* Created: 2023/12/06 11:00:22 by maiboyer #+# #+# */
|
||||||
/* Updated: 2023/12/11 15:24:44 by maiboyer ### ########.fr */
|
/* Updated: 2024/09/19 15:25:10 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
#include "me/hashmap/hashmap_env.h"
|
#include "me/hashmap/hashmap_env.h"
|
||||||
|
|
||||||
t_error hmap_env_iter(t_hashmap_env *self,
|
t_error hmap_env_iter(\
|
||||||
t_error (*func)(t_usize idx,
|
t_hashmap_env *self, t_error (*func)(\
|
||||||
const t_str *key,
|
t_usize idx, const t_str *key, t_str *val, void *ctx), void *ctx)
|
||||||
t_str *val, void *ctx),
|
|
||||||
void *ctx)
|
|
||||||
{
|
{
|
||||||
t_usize bucket_id;
|
t_usize bucket_id;
|
||||||
t_usize all_id;
|
t_usize all_id;
|
||||||
t_entry_env *cur;
|
t_entry_env *cur;
|
||||||
|
|
||||||
bucket_id = 0;
|
bucket_id = 0;
|
||||||
all_id = 0;
|
all_id = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue