Added test for %import

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5537 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-12-11 21:18:21 +00:00
commit 121f9b5740
7 changed files with 40 additions and 6 deletions

View file

@ -1,5 +1,9 @@
#ifndef __subdir2_hello_i__
#define __subdir2_hello_i__
#ifndef subdir2_hello_i_
#define subdir2_hello_i_
%{
typedef char * TypedefString;
%}
%inline %{
@ -8,7 +12,12 @@
{
};
TypedefString importtest2(TypedefString str) {
strcpy(str, "white");
return str;
}
%}
#endif //__subdir2_hello_i__
#endif //subdir2_hello_i_