Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
b804af9a
Commit
b804af9a
authored
Nov 27, 2012
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #161 from joonro/patch-3
changed file order in Sharing C Functions example
parents
34249751
ef4cae42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
docs/src/userguide/sharing_declarations.rst
docs/src/userguide/sharing_declarations.rst
+5
-5
No files found.
docs/src/userguide/sharing_declarations.rst
View file @
b804af9a
...
@@ -165,6 +165,11 @@ example,:
...
@@ -165,6 +165,11 @@ example,:
cdef float cube(float)
cdef float cube(float)
:file:`volume.pyx`::
cdef float cube(float x):
return x * x * x
:file:`spammery.pyx`::
:file:`spammery.pyx`::
from volume cimport cube
from volume cimport cube
...
@@ -177,11 +182,6 @@ example,:
...
@@ -177,11 +182,6 @@ example,:
menu("Main course", 3)
menu("Main course", 3)
menu("Dessert", 2)
menu("Dessert", 2)
:file:`volume.pyx`::
cdef float cube(float x):
return x * x * x
.. note::
.. note::
When a module exports a C function in this way, an object appears in the
When a module exports a C function in this way, an object appears in the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment