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()
Keyword Parsing with
PyArg_ParseTupleAndKeywords()
The
Py_BuildValue()
Function
1.11 Reference Counts
Introduction
Reference Counting in Python
Ownership Rules
Thin Ice
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
Shared Libraries
SGI IRIX 4 Dynamic Loading
GNU Dynamic Loading
3.2 Building a Dynamically Loadable Module
Shared Libraries
SGI IRIX 4 Dynamic Loading
GNU Dynamic Loading
About this document ...
guido@python.org