1 *** Modules\python.cxx.orig Fri May 11 16:04:01 2001
2 --- Modules\python.cxx Fri May 11 16:14:08 2001
5 // If there was a result, it was saved in _result.
6 // If the function is a void type, don't do anything.
8 ! if ((tm = typemap_lookup("out","python",d,iname,"_result","_resultobj"))) {
9 // Yep. Use it instead of the default
13 // If there was a result, it was saved in _result.
14 // If the function is a void type, don't do anything.
16 ! if ((strncmp(name, "new_", 4) != 0) && // don't use the out typemap for constructors
17 ! (tm = typemap_lookup("out","python",d,iname,"_result","_resultobj"))) {
18 // Yep. Use it instead of the default