modify test-suite (barring python atm) to not rely on the -I path to find the input .i file - removes the new warning 125 and sets up the test-suite for testing with ccache. This change required the use of -outcurrentdir and moving the .i files from the language subdirectories to the directory above along with some .i file name changes.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2008-11-26 21:35:15 +00:00
commit db83e51441
61 changed files with 390 additions and 709 deletions

View file

@ -0,0 +1,44 @@
%module(directors="1") ruby_track_objects_directors
%{
#include <string>
%}
%include "std_string.i";
%feature("director") Foo;
%trackobjects;
%inline %{
class Foo {
public:
Foo() {}
virtual ~Foo() {}
virtual std::string ping()
{
return "Foo::ping()";
}
virtual std::string pong()
{
return "Foo::pong();" + ping();
}
};
class Container {
Foo* foo_;
public:
Foo* get_foo()
{
return foo_;
}
void set_foo(Foo *foo)
{
foo_ = foo;
}
};
%}