libds/include/libds.h
2016-12-21 15:07:01 -08:00

15 lines
283 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