[pypy-commit] pypy cling-support: remove spurious printout

wlav pypy.commits at gmail.com
Thu Aug 18 19:03:16 EDT 2016


Author: Wim Lavrijsen <WLavrijsen at lbl.gov>
Branch: cling-support
Changeset: r86300:4ea4f34d66b9
Date: 2016-08-18 14:52 -0700
http://bitbucket.org/pypy/pypy/changeset/4ea4f34d66b9/

Log:	remove spurious printout

diff --git a/pypy/module/cppyy/src/clingcwrapper.cxx b/pypy/module/cppyy/src/clingcwrapper.cxx
--- a/pypy/module/cppyy/src/clingcwrapper.cxx
+++ b/pypy/module/cppyy/src/clingcwrapper.cxx
@@ -1013,10 +1013,8 @@
 
 Cppyy::TCppIndex_t Cppyy::GetDatamemberIndex( TCppScope_t scope, const std::string& name )
 {
-   std::cout << " ASKING FOR: " << name << " on scope: " << scope << std::endl;
    if ( scope == GLOBAL_HANDLE ) {
       TGlobal* gb = (TGlobal*)gROOT->GetListOfGlobals( kTRUE )->FindObject( name.c_str() );
-      std::cout << " FOUND (G): "<< gb << " " << (TGlobal*)gROOT->GetListOfGlobals( kTRUE )->FindObject("std::cout") << std::endl;
       if ( gb && gb->GetAddress() && gb->GetAddress() != (void*)-1 ) {
          g_globalvars.push_back( gb );
          return g_globalvars.size() - 1;
@@ -1028,7 +1026,6 @@
          TDataMember* dm =
             (TDataMember*)cr->GetListOfDataMembers()->FindObject( name.c_str() );
          // TODO: turning this into an index is silly ...
-         std::cout << " FOUND (D): "<< dm << std::endl;
          if ( dm ) return (TCppIndex_t)cr->GetListOfDataMembers()->IndexOf( dm );
       }
    }


More information about the pypy-commit mailing list