Don't test shared_ptr for languages that don't have support for shared_ptr

This commit is contained in:
William S Fulton 2013-03-21 19:41:59 +00:00
commit 3abe3517f8

View file

@ -32,6 +32,12 @@ public:
%}
#if defined(SWIGJAVA) || defined(SWIGCSHARP) || defined(SWIGPYTHON) || defined(SWIGD)
#define SHARED_PTR_WRAPPERS_IMPLEMENTED
#endif
#if defined(SHARED_PTR_WRAPPERS_IMPLEMENTED)
%include <std_string.i>
%include <boost_shared_ptr.i>
@ -60,4 +66,7 @@ public:
virtual FooBar makeFooBar();
static Foo* get_self(Foo *self_);
};
};
#endif