6a8df1ef53c56460f00a83ea8062d7955e433534
[henge/apc.git] / src / apc.h
1 #include <stdint.h>
2 #include <unitypes.h>
3 #include <limits.h>
4
5 //ir.h
6 #define BUF_SIZE 256
7 #define MAX_SETS 256
8 #define MAX_ELES 256
9 #define MAX_QUADS 256
10 #define MAX_MODELS 256
11 #define MAX_MODEL_LEN 256
12 #define MAX_MAPS 8
13 #define MAX_POSTS 256
14 #define MAX_CLASS_DEPTH 256
15 #define MAX_CLASSES 256
16 #define MAX_FRAMES 256
17 #define PTRS_IN_PAGE 1024
18 #define MAX_CHUNKS 256
19 #define PAGES_PER_CHUNK 16
20 #define MAX_DEPTH 8
21 //irmem.c
22 #define PAGES_PER_CHUNK 16
23 #define MAX_NAME_LEN 128
24 #define MAX_DEPTH 8
25 //lexer.c
26 #define FNAME_MAX 1024
27 #define FPATH_MAX 8192
28
29
30 struct name
31 {
32 uint8_t name[MAX_NAME_LEN];
33 };