2022-06-06 08:23:33 +00:00
|
|
|
/* This software is licensed by the MIT License, see LICENSE file */
|
|
|
|
/* Copyright © 2022 Gregory Lirent */
|
|
|
|
|
|
|
|
#include "../set.h"
|
|
|
|
|
|
|
|
#ifndef LIBCDSB_EXTRA_SET_H
|
|
|
|
#define LIBCDSB_EXTRA_SET_H
|
|
|
|
|
|
|
|
#define vset_foreach libcdsb_vset_foreach
|
|
|
|
|
|
|
|
extern _Bool libcdsb_vset_find (vtype_value* x, vtype_set* s, const void* value, vtype type, _Bool cut);
|
|
|
|
extern _Bool libcdsb_vset_insert(vtype_set* x, const void* value, vtype type);
|
|
|
|
|
2022-06-07 18:42:11 +00:00
|
|
|
extern int libcdsb_vset_foreach(const vtype_set* x, void* data, int (*callback)(const void* value, vtype type, void* data)) LIBCDSB_nt__ LIBCDSB_nn13__;
|
2022-06-06 08:23:33 +00:00
|
|
|
|
|
|
|
#endif /* LIBCDSB_EXTRA_SET_H */
|