Chapter 4. .sip File Syntax

Table of Contents
General rules
Macros
Directives
Accepted C++ / Qt constructs

General rules

Macros

A number of macros can be used in the .sip files (e.g. class definitions, makefile templates). When SIP parses the definitions, the macros are replaced by actual values as follows:

Table 4-1. Macros in Makefile Templates

$$a '$' character
$CClass name
$SSource files
$OObject files
$cC++ file suffix
$oObject_file_suffix
$mC++ module name
$PPercent sign