Next:
Extending Python with
Up:
Extending and Embedding the
Previous:
Extending and Embedding the
Contents
Contents
Extending Python with C or C++ code
Introduction
A first look at the code
Intermezzo: errors and exceptions
Back to the example
The module's function table
Compilation and linkage
Calling Python functions from C
Format strings for
getargs()
The
mkvalue()
function
Reference counts
Writing extensions in C++
Embedding Python in another application
Embedding Python in C++
Dynamic Loading
Configuring and building the interpreter for dynamic loading
Shared libraries
SGI dynamic loading
GNU dynamic loading
Building a dynamically loadable module
Shared libraries
SGI dynamic loading
GNU dynamic loading
About this document ...