Ticket #448: call-swig_disown.patch

File call-swig_disown.patch, 487 bytes (added by Olly Betts, 14 years ago)

patch showing change I think we want in the gnerated code

  • modern/xapian_wrap.cc

    old new  
    3438334383    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Stem" "', argument " "1"" of type '" "Xapian::StemImplementation *""'");
    3438434384  }
    3438534385  {
     34386      Swig::Director *director = dynamic_cast<Swig::Director *>(arg1);
     34387      if (director) director->swig_disown();
     34388  }
     34389  {
    3438634390    SWIG_PYTHON_THREAD_BEGIN_ALLOW;
    3438734391    {
    3438834392      try {