libds/include/libds.h

18 lines
288 B
C
Raw Normal View History

#ifndef LIBDS_HEADER
#define LIBDS_HEADER
#include <stdarg.h>
enum libds_result_e {
SUCCSESS,
MALLOC
};
typedef enum libds_result_e libds_result;
typedef int (*compare_func)(void*, void*);
typedef int (*foreach_func)(void*, va_list);
int compare_always(void* a, void* b);
#endif