summaryrefslogtreecommitdiff
path: root/ccc.h
blob: d9bbc2b9b62398f0ece04b0722ab3ed38128f4c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef CCC_H
#define CCC_H

#define CCC_PANIC { perror("ccc"); exit(1); }
#define ARRAY_SZ(x) (sizeof(x) / sizeof(x[0]))

typedef unsigned long long integral_t;
typedef long long sintegral_t;
typedef double floating_t;

void* ccc_alloc(integral_t sz);
char* ccc_sprintf(const char* format, ...);

#endif