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
eb39c410
Commit
eb39c410
authored
May 04, 2008
by
Gabriel Gellner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed TODO: comments in some files. Added documentation TODO.
parent
7f20eee9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
2 deletions
+23
-2
TODO
TODO
+10
-0
docs/external_C_code.rst
docs/external_C_code.rst
+12
-1
docs/pyrex_differences.rst
docs/pyrex_differences.rst
+1
-1
No files found.
TODO
0 → 100644
View file @
eb39c410
* Make a Pygments lexer for cython/pyrex so we get nice color coding.
* Fix up the latex style file so that boxes are not messed up when we have
code examples.
* Put on my writing hat, and do an overhaul of the structure of the docs so
that it is faster to navigate. I will be using the python doc structure as a
reference.
* Get some simple howto's written.
* Thinking if there is an easy way to test the cython code in the docs so that
I can ensure accuracy.
docs/external_C_code.rst
View file @
eb39c410
...
...
@@ -159,7 +159,18 @@ header file, and the corresponding Cython declaration that you should put in
the ``cdef extern`` from block. Struct declarations are used as an example; the
same applies equally to union and enum declarations.
-- TODO: put table here...
.. TODO: put table here...
+-----------------+--------------------+
| C code | Cython |
+-----------------+--------------------+
| :: | :: |
| | |
| struct Foo { | cdef struct Foo: |
| ... | ... |
| }; | |
+-----------------+--------------------+
Note that in all the cases below, you refer to the type in Cython code simply
as :ctype:`Foo`, not ``struct Foo``.
...
...
docs/pyrex_differences.rst
View file @
eb39c410
...
...
@@ -267,7 +267,7 @@ Synonyms
Source code encoding
--------------------
--
TODO: add the links to the relevent PEPs
..
TODO: add the links to the relevent PEPs
Cython supports PEP 3120 and PEP 263, i.e. you can start your Cython source
file with an encoding comment and generally write your source code in UTF-8.
...
...
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