aboutsummaryrefslogtreecommitdiff
path: root/src/type_alias.h
blob: ae6b7ffc221a3aabd372d50c2b5f0c56cc7f880a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef ALGDS_TYPE_ALIAS_H_
#define ALGDS_TYPE_ALIAS_H_

#include <stdint.h>
#include <stdbool.h>

typedef bool Bool;
typedef int32_t Int;
typedef int64_t Long;
typedef uint32_t UInt;
typedef uint64_t ULong;
typedef char Char;
typedef float Float;
typedef double Double;
typedef const char *String;

typedef uint64_t (*VoidHashFn)(void*);
typedef bool (*VoidEqFn)(void*, void*);
typedef int (*VoidCmpFn)(void*, void*);

#endif