Initial commit of Octave module.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Xavier Delacour 2008-03-01 23:35:44 +00:00
commit 393391965c
275 changed files with 14004 additions and 5 deletions

View file

@ -0,0 +1,24 @@
inctest
try
a = inctest.A();
catch
error("didn't find A\ntherefore, I didn't include \
'testdir/subdir1/hello.i'")
end_try_catch
try
b = inctest.B();
catch
error("didn't find B\ntherefore, I didn't include 'testdir/subdir2/hello.i'")
end_try_catch
# Check the import in subdirectory worked
if (inctest.importtest1(5) != 15)
error("import test 1 failed")
endif
if (!strcmp(inctest.importtest2("black"),"white"))
error("import test 2 failed")
endif