/tags/rel-1.3.35/Examples/test-suite/testdir/subdir2/hello.i

# · Swig · 24 lines · 16 code · 8 blank · 0 comment · 0 complexity · 1e1d621f7410d020df4aaf128c7e144f MD5 · raw file

  1. #ifndef subdir2_hello_i_
  2. #define subdir2_hello_i_
  3. %{
  4. typedef char * TypedefString;
  5. %}
  6. %inline %{
  7. struct B
  8. {
  9. int bb;
  10. };
  11. TypedefString importtest2(TypedefString str) {
  12. strcpy(str, "white");
  13. return str;
  14. }
  15. %}
  16. #endif //subdir2_hello_i_