summaryrefslogtreecommitdiff
path: root/docs/application/name.md
blob: a94789ce2ea670f016d75faba3b7a4f8ea79fa4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Name

---

Each word representing a var, symbol or type gets an `NAME_IDENTIFIER` -> `kpl_name*` associated with it

## Object Definitions

```c
typedef struct _kpl_name {
    KPL_POOL_HEADER(_kpl_name);
    uint32_t length;
    char *c_str[];
} kpl_name;

static kpl_name *kpl_name_head;
```

## Lookup and Storage

All `kpl_name*` objects are stored as a tree under `*kpl_name_head`