Please read the [Common pitfalls](../include/README.md#common-pitfalls) section in the C API reference documentation.