1# Create a `wrapper.h` Header
2
3The `wrapper.h` file will include all the various headers containing
4declarations of structs and functions we would like bindings for. In the
5particular case of `bzip2`, this is pretty easy since the entire public API is
6contained in a single header. For a project like [SpiderMonkey][spidermonkey],
7where the public API is split across multiple header files and grouped by
8functionality, we'd want to include all those headers we want to bind to in this
9single `wrapper.h` entry point for `bindgen`.
10
11Here is our `wrapper.h`:
12
13```c
14#include <bzlib.h>
15```
16
17This is also where we would add any [replacement types](./replacing-types.md),
18if we were using some.
19
20[spidermonkey]: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/How_to_embed_the_JavaScript_engine
21