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
Boxiang Sun
cython
Commits
16ea4ffd
Commit
16ea4ffd
authored
Oct 01, 2009
by
Peter Alexander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
couple of fixes
parent
7c26bf33
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
29 additions
and
27 deletions
+29
-27
src/compilation.rst
src/compilation.rst
+0
-1
src/extension_types.rst
src/extension_types.rst
+0
-1
src/interfacing_with_other_code.rst
src/interfacing_with_other_code.rst
+0
-1
src/language_basics.rst
src/language_basics.rst
+29
-21
src/limitations.rst
src/limitations.rst
+0
-1
src/overview.rst
src/overview.rst
+0
-1
src/special_mention.rst
src/special_mention.rst
+0
-1
No files found.
src/compilation.rst
View file @
16ea4ffd
...
...
@@ -11,7 +11,6 @@ Compilation
There are several ways to compile cython code.
.. contents::
:depth: 2
:local:
...
...
src/extension_types.rst
View file @
16ea4ffd
...
...
@@ -7,7 +7,6 @@ Extention Types
***************
.. contents::
:depth: 2
:local:
==========
...
...
src/interfacing_with_other_code.rst
View file @
16ea4ffd
...
...
@@ -7,7 +7,6 @@ Interfacing with Other Code
***************************
.. contents::
:depth: 2
:local:
==
...
...
src/language_basics.rst
View file @
16ea4ffd
...
...
@@ -17,35 +17,37 @@ Cython File Types
=================
There are three file types in cython:
* Definition files carry the `.pxd` suffix
* Implementation files carry the `'.pyx suffix
* Include files which carry the `.pxi` suffix
* Definition files carry a `.pxd` suffix
* Implementation files carry a `.pyx` suffix
* Include files which carry a `.pxi` suffix
.. contents::
:local:
Definition
==========
Definition
File
==========
=====
What can it contain?
--------------------
* Any kind of C type declaration.
* `extern` C function or variable decarations.
* Module implementation declarations as well as definition parts of extension type
s.
* This also is a convenient place to put all declarations of functions, etc., for an
**external library**
* Any kind of C type declaration.
* `extern` C function or variable decarations.
* Declarations for module implementation
s.
* The definition parts of **extension types**.
* All declarations of functions, etc., for an
**external library**
What can't it contain?
----------------------
* Any non-extern C variable declaration.
* Implementations of C or Python functions.
* Python class definitions
* Python executable statements.
* Any declaration that is defined as **public** to make it accessible to other Cython modules.
* Any non-extern C variable declaration.
* Implementations of C or Python functions.
* Python class definitions
* Python executable statements.
* Any declaration that is defined as **public** to make it accessible to other Cython modules.
* This is not necessary, as it is automatic.
* a **public** declaration is only needed to make it accessible to **external C code**.
* This is not necessary, as it is automatic.
* a **public** declaration is only needed to make it accessible to **external C code**.
What else?
----------
...
...
@@ -68,8 +70,8 @@ compilation order
Implementation
===============
Implementation
File
===============
====
What can it contain?
--------------------
...
...
@@ -83,8 +85,8 @@ What can't it contain?
already defined else where... **more on this later**
Include
=======
Include
File
=======
=====
What can it contain?
--------------------
...
...
@@ -105,6 +107,9 @@ How do I use it?
Data Typing
===========
.. contents::
:local:
Grouping
========
...
...
@@ -129,6 +134,9 @@ Statements and Expressions
Functions
=========
.. contents::
:local:
Callable from Python
=====================
...
...
src/limitations.rst
View file @
16ea4ffd
...
...
@@ -7,5 +7,4 @@ Limitations
***********
.. contents::
:depth: 2
:local:
src/overview.rst
View file @
16ea4ffd
...
...
@@ -7,7 +7,6 @@ Overview
********
.. contents::
:depth: 2
:local:
===============
...
...
src/special_mention.rst
View file @
16ea4ffd
...
...
@@ -8,5 +8,4 @@ Special Mention
***************
.. contents::
:depth: 2
:local:
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