| 1 |
# Tutorial |
| 2 |
In this tutorial, we go through the basic steps needed to generate a safe wrapper for a simple C library. |
| 3 |
We start with finding the .gir files needed and end with generating the documentation. |
| 4 |
We also look at a few common errors and how to fix them. |
| 5 |
Because this can be a bit abstract sometimes, we use the creation of the bindings for [Pango](https://docs.gtk.org/Pango/) as an example. |
| 6 |
The example continues through all of the chapters of the tutorial. |
| 7 |
If you follow along until the end, you will have generated a safe wrapper including the documentation. |
| 8 |
In case you are stuck at any point or there are other errors and you can't figure out what's going on, don't hesitate to reach us so we can give you a hand! |
| 9 |
|
| 10 |
Let's dive right into it and let's set up our project folder! |
| 11 |
|
| 12 |
[gir]: https://github.com/gtk-rs/gir |