#ifndef UCX_H
#define UCX_H
#define UCX_VERSION_MAJOR 0
#define UCX_VERSION_MINOR 10
#include <stdlib.h>
#ifdef _WIN32
#if !(defined __ssize_t_defined || defined _SSIZE_T_)
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#define __ssize_t_defined
#define _SSIZE_T_
#endif
#else
#include <sys/types.h>
#endif
#ifdef __cplusplus
#ifndef _Bool
#define _Bool bool
#define restrict
#endif
#define UCX_EXTERN extern "C"
extern "C" {
#else
#define UCX_EXTERN
#endif
typedef void(*ucx_destructor)(void*);
typedef int(*cmp_func)(void*,void*,void*);
typedef void*(*copy_func)(void*,void*);
typedef size_t(*write_func)(const void*, size_t, size_t, void*);
typedef size_t(*read_func)(void*, size_t, size_t, void*);
#ifdef __cplusplus
}
#endif
#endif