moved testdir/* to testdir/inctest/* under Examples/test-suite/
This commit is contained in:
parent
afc2b884a4
commit
0afbb357d0
9 changed files with 8 additions and 8 deletions
24
Examples/test-suite/testdir/inctest/subdir2/hello.i
Normal file
24
Examples/test-suite/testdir/inctest/subdir2/hello.i
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#ifndef subdir2_hello_i_
|
||||
#define subdir2_hello_i_
|
||||
|
||||
%{
|
||||
typedef char * TypedefString;
|
||||
%}
|
||||
|
||||
|
||||
%inline %{
|
||||
|
||||
struct B
|
||||
{
|
||||
int bb;
|
||||
};
|
||||
|
||||
TypedefString importtest2(TypedefString str) {
|
||||
strcpy(str, "white");
|
||||
return str;
|
||||
}
|
||||
|
||||
%}
|
||||
|
||||
|
||||
#endif //subdir2_hello_i_
|
||||
6
Examples/test-suite/testdir/inctest/subdir2/imports.i
Normal file
6
Examples/test-suite/testdir/inctest/subdir2/imports.i
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#ifndef subdir2_imports_i_
|
||||
#define subdir2_imports_i_
|
||||
|
||||
typedef char * TypedefString;
|
||||
|
||||
#endif //subdir2_imports_i_
|
||||
3
Examples/test-suite/testdir/inctest/subdir2/subinc2.i
Normal file
3
Examples/test-suite/testdir/inctest/subdir2/subinc2.i
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
%include "hello.i"
|
||||
%import "imports.i"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue