SIP

A Python/C++ Bindings Generator

Phil Thompson

Edited by

Wilken Boie

This Handbook describes SIP Version 2.4pre2.


Table of Contents
1. Introduction
What is SIP
Conventions
2. Installation
How to obtain SIP
Requirements
Compilation and installation
3. Usage
Invocation, Command Line
Limitations
Files
Source Files
Files containing the wrapping
Intermediate Files
Auxilliary Files
4. .sip File Syntax
General rules
Macros
Directives
Documentation
Modules
Conditional Elements
C++ and Header Code Sections
Python Code Sections
Mapped Classes
Special Python methods
Other
Accepted C++ / Qt constructs
5. SIPLIB Functions
Public Support Functions
Information functions
Conversions and argument parsing
Ressource handling
Calling Python
Functions specifically for signals/slots
Private Functions
A. History
List of Tables
3-1. Command line options
4-1. Macros in Makefile Templates
4-2. Flags in member function declaration
5-1. Error flags in sipParseArgs()
5-2. Format specifiers for sipParseArgs()
List of Examples
5-1. Interface for QRegExp::match