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
b03e157d
Commit
b03e157d
authored
Apr 14, 2020
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a stub documentation page about embedding Cython modules in C/C++ applications.
parent
2fcfd544
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
1 deletion
+28
-1
docs/src/tutorial/embedding.rst
docs/src/tutorial/embedding.rst
+27
-0
docs/src/tutorial/index.rst
docs/src/tutorial/index.rst
+1
-1
No files found.
docs/src/tutorial/embedding.rst
0 → 100644
View file @
b03e157d
.. highlight:: cython
.. _embedding:
**********************************************
Embedding Cython modules in C/C++ applications
**********************************************
This is a stub documentation page. PRs welcome.
* `CPython docs <https://docs.python.org/3/extending/embedding.html>`_
* `Cython Wiki <https://github.com/cython/cython/wiki/EmbeddingCython>`_
* See the ``--embed`` option to the ``cython`` and ``cythonize`` frontends
for generating a C main function.
* `Embedding demo program <https://github.com/cython/cython/tree/master/Demos/embed>`_
* The `PyImport_AppendInittab() <https://docs.python.org/3/c-api/import.html#c.PyImport_AppendInittab>`_
function in CPython allows registering statically (or dynamically) linked extension modules
for later imports.
* Also see the documentation of the
`module init function <https://docs.python.org/3/extending/extending.html#the-module-s-method-table-and-initialization-function>`_
in CPython and `PEP 489 <https://www.python.org/dev/peps/pep-0489/>`_ regarding the module
initialisation mechanism in CPython 3.5 and later.
docs/src/tutorial/index.rst
View file @
b03e157d
...
...
@@ -13,10 +13,10 @@ Tutorials
profiling_tutorial
strings
memory_allocation
embedding
pure
numpy
array
readings
related_work
appendix
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