From: Yoann C. <spa...@ho...> - 2012-05-23 12:53:08
|
Hi, I have a method that uses boost::shared_ptr ( vgd::Shp is derived from boost::shared_ptr ) vgd::Shp<Target> InterfaceScriptSwig::getTestTarget() { return Exo::m_testTarget; } but in my interface file I don't have use %include <boost_shared_ptr.i>%shared_ptr(T)#include <boost/shared_ptr.hpp> I juste expose my method But it works. Why ? are includes not required ? Any help would be appreciated, thank you |