From d0cca976be6fb90f3724911c8a124bce56b3c5f9 Mon Sep 17 00:00:00 2001 From: Katharina Fey Date: Sun, 9 Jun 2019 09:07:48 +0200 Subject: Restructuring the main API and project This commit rewrites pretty much the entire library. It is now much smaller and more maintainable (split over multiple files). It will now also support more features (that aren't implemented yet). Adding two examples to show how to use the new API. Also changing the name of the library everywhere. --- utils.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 utils.h (limited to 'utils.h') diff --git a/utils.h b/utils.h new file mode 100644 index 0000000..c7c2178 --- /dev/null +++ b/utils.h @@ -0,0 +1,19 @@ +#ifndef _UTIL_H_ +#define _UTIL_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include "bowl.h" + +err_t _array_rescale(void ***, size_t *len, size_t use); + +err_t _array_search(void **, size_t, size_t *out, void *in); + +err_t _array_remove(void **, size_t idx, size_t len, void **out); + +#ifdef __cplusplus +} +#endif +#endif // _UTIL_H_ \ No newline at end of file -- cgit v1.2.3