Commit da97e28d authored by Eric Chlebek's avatar Eric Chlebek

Update docs/src/userguide/external_C_code.rst

parent c48630b2
......@@ -320,8 +320,8 @@ If there are any public declarations in a Cython module, a header file called
:file:`modulename.h` file is generated containing equivalent C declarations for
inclusion in other C code.
When including the :file:`modulename.h` file and using functions declared in it, you must
call Py_Initialize() and Py_Finalize() if you are interacting with any Python functions::
Users who are embedding Python in C with Cython need to make sure to call Py_Initialize()
and Py_Finalize(). For example, in the following snippet that includes :file:`modulename.h`::
#include <Python.h>
#include "modulename.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment