/[ascend]/trunk/pygtk/interface/reporter.cpp
ViewVC logotype

Diff of /trunk/pygtk/interface/reporter.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 507 by johnpye, Wed Apr 19 02:44:25 2006 UTC revision 508 by johnpye, Wed Apr 19 04:48:32 2006 UTC
# Line 67  Reporter::reportErrorPython(ERROR_REPORT Line 67  Reporter::reportErrorPython(ERROR_REPORT
67      char msg[REPORTER_MAX_ERROR_MSG];      char msg[REPORTER_MAX_ERROR_MSG];
68      vsprintf(msg,fmt,args);      vsprintf(msg,fmt,args);
69    
70      //cerr << "reportErrorPython: msg=" << msg ;      cerr << "reportErrorPython: msg=" << msg ;
71      //cerr << "reportErrorPython: pyfunc=" << pyfunc << endl;      cerr << "reportErrorPython: pyfunc=" << pyfunc << endl;
72    
73      pyarglist = Py_BuildValue("(H,z,i,z)",sev,filename,line,msg);             // Build argument list      pyarglist = Py_BuildValue("(H,z,i,z)",sev,filename,line,msg);             // Build argument list
74      pyresult = PyEval_CallObject(pyfunc,pyarglist);     // Call Python      pyresult = PyEval_CallObject(pyfunc,pyarglist);     // Call Python

Legend:
Removed from v.507  
changed lines
  Added in v.508

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22