Warning 303: %extend defined for an undeclared class opencascade::handle.

Kustaa Nyholm <[email protected]>
Newsgroups gmane.comp.programming.swig
Message-ID <[email protected]>
I get the 303 for following, although the test_ball seems to compile fine?

I just can't figure this out.


%{
#include <Standard_Transient.hxx>

opencascade::handle<int> test_ball;

%}

%extend opencascade::handle
{

};

I've looked into Standard_Transient.hxx and there handle is forward declared as:

namespace opencascade {
  template <class T> class handle;
}

I cannot seem to find the actual class def for handle though.

wbr Kusti
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.