d.swg 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. // Typemaps for exception handling.
  8. %include <dexception.swg>
  9. // Typemaps for primitive types.
  10. %include <dprimitives.swg>
  11. // Typemaps for non-primitive types (C/C++ classes and structs).
  12. %include <dswigtype.swg>
  13. // Typemaps for enumeration types.
  14. %include <denums.swg>
  15. // Typemaps for member function pointers.
  16. %include <dmemberfunctionpointers.swg>
  17. // Typemaps for wrapping pointers to/arrays of C chars as D strings.
  18. %include <dstrings.swg>
  19. // Typemaps for handling void function return types and empty parameter lists.
  20. %include <dvoid.swg>
  21. // Typemaps containing D code used when generating D proxy classes.
  22. %include <dclassgen.swg>
  23. // Mapping of C++ operator overloading methods to D.
  24. %include <doperators.swg>
  25. // Helper code string and exception handling.
  26. %include <dhead.swg>
  27. // Wrapper loader code for dynamically linking the C wrapper library from the D
  28. // wrapper module.
  29. %include <wrapperloader.swg>
  30. // List of all reserved D keywords.
  31. %include <dkw.swg>
  32. // D-specific directives.
  33. %include <ddirectives.swg>