/trunk/Examples/d/constants/example.d

# · D · 23 lines · 12 code · 4 blank · 7 comment · 0 complexity · d17f0974029697369386dad185de5747 MD5 · raw file

  1. /* ----------------------------------------------------------------------------
  2. * This file was automatically generated by SWIG (http://www.swig.org).
  3. * Version 1.3.41
  4. *
  5. * Do not make changes to this file unless you know what you are doing--modify
  6. * the SWIG interface file instead.
  7. * ----------------------------------------------------------------------------- */
  8. module example;
  9. static import example_wrap;
  10. static import tango.stdc.stringz;
  11. public const int ICONST = 42;
  12. public const double FCONST = 2.1828;
  13. public const char CCONST = 'x';
  14. public const char CCONST2 = '\n';
  15. public const char[] SCONST = "Hello World";
  16. public const char[] SCONST2 = "\"Hello World\"";
  17. public const double EXPR = 42+3*(2.1828);
  18. public const int iconst = 37;
  19. public const double fconst = 3.14;