2022-06-06 11:23:33 +03: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
|
|
|
|
|
2022-06-08 09:58:16 +03:00
|
|
|
#define vset_foreach(x, data, callback) libcdsb_vset_foreach(x, data, callback, 0)
|
|
|
|
|
2022-06-09 16:29:10 +03:00
|
|
|
extern bool libcdsb_vset_insert(vtype_set* x, const void* value, vtype type) LIBCDSB_nt__ LIBCDSB_nn12__;
|
2022-06-08 09:58:16 +03:00
|
|
|
|
2022-06-09 16:29:10 +03:00
|
|
|
extern int libcdsb_vset_find (vtype_set* x, const void* value, vtype type, void* data, vset_access_callback, bool cut) LIBCDSB_nt__ LIBCDSB_nn1__;
|
|
|
|
extern int libcdsb_vset_foreach(vtype_set* x, void* data, vset_access_callback, bool flush) LIBCDSB_nt__ LIBCDSB_nn13__;
|
2022-06-06 11:23:33 +03:00
|
|
|
|
|
|
|
#endif /* LIBCDSB_EXTRA_SET_H */
|