diff options
-rw-r--r-- | CHANGES.current | 3 | ||||
-rw-r--r-- | Lib/python/boost_shared_ptr.i | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGES.current b/CHANGES.current index ad8321e73..fe81e30f6 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -1,6 +1,9 @@ Version 1.3.35 (in progress) ============================ +03/12/2008: wsfulton + [Python] Remove debugging info when using shared_ptr support + 03/06/2008: mgossage [Lua] Updated documentation for Lua exceptions. Added Examples/lua/exception and Examples/lua/embed2. diff --git a/Lib/python/boost_shared_ptr.i b/Lib/python/boost_shared_ptr.i index 6ea2271dd..61e533c31 100644 --- a/Lib/python/boost_shared_ptr.i +++ b/Lib/python/boost_shared_ptr.i @@ -7,7 +7,7 @@ // destructor mods %feature("unref") TYPE -"if (debug_shared) { cout << \"deleting use_count: \" << (*smartarg1).use_count() << \" [\" << (boost::get_deleter<SWIG_null_deleter>(*smartarg1) ? std::string(\"CANNOT BE DETERMINED SAFELY\") : ( (*smartarg1).get() ? (*smartarg1)->getValue() : std::string(\"NULL PTR\") )) << \"]\" << endl << flush; }\n" +//"if (debug_shared) { cout << \"deleting use_count: \" << (*smartarg1).use_count() << \" [\" << (boost::get_deleter<SWIG_null_deleter>(*smartarg1) ? std::string(\"CANNOT BE DETERMINED SAFELY\") : ( (*smartarg1).get() ? (*smartarg1)->getValue() : std::string(\"NULL PTR\") )) << \"]\" << endl << flush; }\n" "(void)arg1; delete smartarg1;" %feature("smartptr", noblock=1) TYPE { SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< TYPE > } |