summaryrefslogtreecommitdiff
path: root/Lib/d/d.swg
blob: f5bb4596c234befda6b790cc6815c9b6f0d008c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* -----------------------------------------------------------------------------
 * d.swg
 *
 * Main library file for the D language module. See the D chapter in the SWIG
 * manual for explanation on the typemaps, pragmas, etc. used.
 * ----------------------------------------------------------------------------- */

// Typemaps for exception handling.
%include <dexception.swg>

// Typemaps for primitive types.
%include <dprimitives.swg>

// Typemaps for non-primitive types (C/C++ classes and structs).
%include <dswigtype.swg>

// Typemaps for enumeration types.
%include <denums.swg>

// Typemaps for member function pointers.
%include <dmemberfunctionpointers.swg>

// Typemaps for wrapping pointers to/arrays of C chars as D strings.
%include <dstrings.swg>

// Typemaps for handling void function return types and empty parameter lists.
%include <dvoid.swg>

// Typemaps containing D code used when generating D proxy classes.
%include <dclassgen.swg>

// Mapping of C++ operator overloading methods to D.
%include <doperators.swg>

// Helper code string and exception handling.
%include <dhead.swg>

// Wrapper loader code for dynamically linking the C wrapper library from the D
// wrapper module.
%include <wrapperloader.swg>

// List of all reserved D keywords.
%include <dkw.swg>

// D-specific directives.
%include <ddirectives.swg>