Hi, I'm using SWIG 1.3.36 to wrap a rather complex C++ library into Java and C# classes. In both cases, when calling protected methods which have been wrapped with
%module (directors="1", allprotected="1") libtisch
I get segfaults in native code when calling any protected method from managed code.
However, when I change the C++ header and declare the methods public, it suddenly works without a recompile of the native code - just SWIG has to be re-run. So I suppose this is really a bug in SWIG relating to directors.