remove debugging info from shared_ptr typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
cb131bfeb9
commit
77cd446a53
2 changed files with 4 additions and 1 deletions
|
|
@ -1,6 +1,9 @@
|
||||||
Version 1.3.35 (in progress)
|
Version 1.3.35 (in progress)
|
||||||
============================
|
============================
|
||||||
|
|
||||||
|
03/12/2008: wsfulton
|
||||||
|
[Python] Remove debugging info when using shared_ptr support
|
||||||
|
|
||||||
03/06/2008: mgossage
|
03/06/2008: mgossage
|
||||||
[Lua] Updated documentation for Lua exceptions.
|
[Lua] Updated documentation for Lua exceptions.
|
||||||
Added Examples/lua/exception and Examples/lua/embed2.
|
Added Examples/lua/exception and Examples/lua/embed2.
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
// destructor mods
|
// destructor mods
|
||||||
%feature("unref") TYPE
|
%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;"
|
"(void)arg1; delete smartarg1;"
|
||||||
|
|
||||||
%feature("smartptr", noblock=1) TYPE { SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< TYPE > }
|
%feature("smartptr", noblock=1) TYPE { SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< TYPE > }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue