libds/include/libds.h
2016-12-20 21:21:53 -08:00

18 lines
287 B
C

#ifndef LIBDS_HEADER
#define LIBDS_HEADER
#include <stdarg.h>
enum libds_result_e {
SUCCESS,
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