mirror of https://github.com/swig/swig
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
|
@ -8,6 +8,8 @@
|
|||
|
||||
%include "std_string.i"
|
||||
|
||||
%feature("director") Bar;
|
||||
%feature("director") Foo<int>;
|
||||
%feature("director") FooBar<int>;
|
||||
|
||||
%newobject *::create();
|
||||
|
@ -49,7 +51,7 @@
|
|||
|
||||
|
||||
#if defined(SWIGPYTHON) || defined(SWIGRUBY) || \
|
||||
defined(SWIGJAVA) || defined(SWIGOCAML)
|
||||
defined(SWIGJAVA) || defined(SWIGOCAML) || defined(SWIGCSHARP)
|
||||
virtual std::string do_step() const = 0;
|
||||
#else
|
||||
virtual std::string do_step() const {return "";};
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
%include "std_string.i"
|
||||
|
||||
%feature("director") Bar;
|
||||
%feature("director");
|
||||
|
||||
%newobject *::create();
|
||||
|
||||
|
|
Loading…
Reference in New Issue