Add in missing director directives
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9139 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
89e33f9fda
commit
fa1a3c7cb7
2 changed files with 4 additions and 2 deletions
|
|
@ -8,6 +8,8 @@
|
||||||
|
|
||||||
%include "std_string.i"
|
%include "std_string.i"
|
||||||
|
|
||||||
|
%feature("director") Bar;
|
||||||
|
%feature("director") Foo<int>;
|
||||||
%feature("director") FooBar<int>;
|
%feature("director") FooBar<int>;
|
||||||
|
|
||||||
%newobject *::create();
|
%newobject *::create();
|
||||||
|
|
@ -49,7 +51,7 @@
|
||||||
|
|
||||||
|
|
||||||
#if defined(SWIGPYTHON) || defined(SWIGRUBY) || \
|
#if defined(SWIGPYTHON) || defined(SWIGRUBY) || \
|
||||||
defined(SWIGJAVA) || defined(SWIGOCAML)
|
defined(SWIGJAVA) || defined(SWIGOCAML) || defined(SWIGCSHARP)
|
||||||
virtual std::string do_step() const = 0;
|
virtual std::string do_step() const = 0;
|
||||||
#else
|
#else
|
||||||
virtual std::string do_step() const {return "";};
|
virtual std::string do_step() const {return "";};
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
%include "std_string.i"
|
%include "std_string.i"
|
||||||
|
|
||||||
%feature("director") Bar;
|
%feature("director");
|
||||||
|
|
||||||
%newobject *::create();
|
%newobject *::create();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue