Commit 11134c9c authored by Stefan Behnel's avatar Stefan Behnel

clarification

parent 9be1a527
...@@ -67,9 +67,9 @@ above ``sin()`` function is defined as follows:: ...@@ -67,9 +67,9 @@ above ``sin()`` function is defined as follows::
cdef extern from "math.h": cdef extern from "math.h":
double sin(double) double sin(double)
This instructs Cython to generate code that imports the ``math.h`` This declares the ``sin()`` function in a way that makes it available
header file and declares the ``sin()`` function in a way that makes it to Cython code and instructs Cython to generate C code that imports
available to Cython code. The C compiler will see the original the ``math.h`` header file. The C compiler will see the original
declaration in ``math.h`` at compile time, but Cython does not parse declaration in ``math.h`` at compile time, but Cython does not parse
"math.h" and requires a separate definition. "math.h" and requires a separate definition.
......
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