aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/testdir/inctest/subdir2/hello.i
blob: e87b43759c1b1caaa1e830b42dd6da466ce40f30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef subdir2_hello_i_
#define subdir2_hello_i_

%{
typedef char * TypedefString;
#include <string.h>
%}


%inline %{
  
  struct B
  {
    int bb;
  };

  TypedefString importtest2(TypedefString str) {
    strcpy(str, "white");
    return str;
  }

%}


#endif //subdir2_hello_i_