/tags/ttn-post-libtool-1-4-3-upgrade/SWIG/Examples/test-suite/imports_b.i

# · Swig · 14 lines · 6 code · 4 blank · 4 comment · 0 complexity · 41f51e8bc5779a6d280ca506bc4c6730 MD5 · raw file

  1. /* This file is part of a test for SF bug #231619.
  2. It shows that the %import directive does not work properly in SWIG
  3. 1.3a5: Type information is not properly generated if a base class
  4. comes from an %import-ed file. */
  5. %module imports_b
  6. %{
  7. #include "imports_b.h"
  8. %}
  9. %import "imports_a.i"
  10. %include "imports_b.h"