/trunk/Examples/d/constants/example.d
# · D · 23 lines · 12 code · 4 blank · 7 comment · 0 complexity · d17f0974029697369386dad185de5747 MD5 · raw file
- /* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.41
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
- module example;
- static import example_wrap;
- static import tango.stdc.stringz;
- public const int ICONST = 42;
- public const double FCONST = 2.1828;
- public const char CCONST = 'x';
- public const char CCONST2 = '\n';
- public const char[] SCONST = "Hello World";
- public const char[] SCONST2 = "\"Hello World\"";
- public const double EXPR = 42+3*(2.1828);
- public const int iconst = 37;
- public const double fconst = 3.14;