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 __subdir1_hello_i__
#define __subdir1_hello_i__
#ifndef subdir1_hello_i_
#define subdir1_hello_i_
%{
typedef int Integer;
%}
%inline %{
@ -7,9 +11,13 @@
{
};
Integer importtest1(Integer i) {
return i + 10;
}
%}
#endif //__subdir1_hello_i__
#endif //subdir1_hello_i_