1 /* ----------------------------------------------------------------------------- 2 * d.swg 3 * 4 * Main library file for the D language module. See the D chapter in the SWIG 5 * manual for explanation on the typemaps, pragmas, etc. used. 6 * ----------------------------------------------------------------------------- */ 7 8 // Typemaps for exception handling. 9 %include <dexception.swg> 10 11 // Typemaps for primitive types. 12 %include <dprimitives.swg> 13 14 // Typemaps for non-primitive types (C/C++ classes and structs). 15 %include <dswigtype.swg> 16 17 // Typemaps for enumeration types. 18 %include <denums.swg> 19 20 // Typemaps for member function pointers. 21 %include <dmemberfunctionpointers.swg> 22 23 // Typemaps for wrapping pointers to/arrays of C chars as D strings. 24 %include <dstrings.swg> 25 26 // Typemaps for handling void function return types and empty parameter lists. 27 %include <dvoid.swg> 28 29 // Typemaps containing D code used when generating D proxy classes. 30 %include <dclassgen.swg> 31 32 // Mapping of C++ operator overloading methods to D. 33 %include <doperators.swg> 34 35 // Helper code string and exception handling. 36 %include <dhead.swg> 37 38 // Wrapper loader code for dynamically linking the C wrapper library from the D 39 // wrapper module. 40 %include <wrapperloader.swg> 41 42 // List of all reserved D keywords. 43 %include <dkw.swg> 44 45 // D-specific directives. 46 %include <ddirectives.swg> 47