# allocate

int allocate(int bytes)

```
ptr = g_memory.allocate(4)
g_memory.write_int(ptr, 1337)
g_memory.free(ptr)
```
