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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
5655b446
Commit
5655b446
authored
Jan 18, 2011
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better into to clibraries tutorial
parent
5ebe3fe5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/tutorial/clibraries.rst
src/tutorial/clibraries.rst
+5
-2
No files found.
src/tutorial/clibraries.rst
View file @
5655b446
...
...
@@ -4,8 +4,11 @@ Using C libraries
Apart
from
writing
fast
code
,
one
of
the
main
use
cases
of
Cython
is
to
call
external
C
libraries
from
Python
code
.
As
Cython
code
compiles
down
to
C
code
itself
,
it
is
actually
trivial
to
call
C
functions
directly
in
the
code
.
The
following
describes
what
needs
to
be
done
to
use
an
external
C
library
in
Cython
code
.
functions
directly
in
the
code
.
You
may
have
already
seen
this
in
the
simple
tutorial
on
calling
C
functions
.
The
following
gives
a
complete
example
for
using
(
and
wrapping
)
an
external
C
library
in
Cython
code
,
including
appropriate
error
handling
and
considerations
about
designing
a
suitable
API
for
Python
and
Cython
code
.
Imagine
you
need
an
efficient
way
to
store
integer
values
in
a
FIFO
queue
.
Since
memory
really
matters
,
and
the
values
are
actually
...
...
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