Next:
Extending Python with C
Up:
Extending and Embedding the
Previous:
Extending and Embedding the
Contents
Extending Python with C or C++ code
1.1 Introduction
1.2 A Simple Example
1.3 Intermezzo: Errors and Exceptions
1.4 Back to the Example
1.5 The Module's Method Table and Initialization Function
1.6 Compilation and Linkage
1.7 Calling Python Functions From C
Format Strings for
PyArg_ParseTuple()
The
Py_BuildValue()
Function
1.10 Reference Counts
1.10.1 Introduction
1.10.2 Reference Counting in Python
1.10.3 Ownership Rules
1.10.4 Thin Ice
1.10.5 NULL Pointers
Writing Extensions in C++
2 Embedding Python in another application
Embedding Python in C++
3 Dynamic Loading
3.1 Configuring and Building the Interpreter for Dynamic Loading
3.1.1 Shared Libraries
3.1.2 SGI IRIX 4 Dynamic Loading
3.1.3 GNU Dynamic Loading
3.2 Building a Dynamically Loadable Module
3.2.1 Shared Libraries
3.2.2 SGI IRIX 4 Dynamic Loading
3.2.3 GNU Dynamic Loading
4 Extension Reference
4.1 Introduction
4.1.1 Memory Management
4.2 Object Protocol
4.3 Number Protocol
4.4 Sequence protocol
4.5 Mapping protocol
4.6 Constructors
Index
About this document ...
guido@cnri.reston.va.us