Commit 652cb149 authored by Joon Ro's avatar Joon Ro

changed file order in Sharing C Functions example

This order looks more logical, easier to read.

--HG--
extra : transplant_source : N%A1%DE%08%B0%D9%8B%24%91%2B%29%F0%E9%20%ACY%0EQ%60F
parent 3206bc59
......@@ -165,6 +165,11 @@ example,:
cdef float cube(float)
:file:`volume.pyx`::
cdef float cube(float x):
return x * x * x
:file:`spammery.pyx`::
from volume cimport cube
......@@ -177,11 +182,6 @@ example,:
menu("Main course", 3)
menu("Dessert", 2)
:file:`volume.pyx`::
cdef float cube(float x):
return x * x * x
.. note::
When a module exports a C function in this way, an object appears in the
......
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