/trunk/Examples/test-suite/constants.i

# · Swig · 16 lines · 7 code · 9 blank · 0 comment · 0 complexity · 45439b617987ed6db9eefaaef0f4374e MD5 · raw file

  1. %module constants
  2. %inline %{
  3. struct A {
  4. A(double) { }
  5. };
  6. const A b123(3.0);
  7. %}