/[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 132 by johnpye, Wed Dec 21 00:14:13 2005 UTC revision 190 by johnpye, Mon Jan 16 08:53:30 2006 UTC
# Line 2  Line 2 
2  # include <Python.h>  # include <Python.h>
3  #endif  #endif
4    
5    #include <cstdio>
6  #include <iostream>  #include <iostream>
7  using namespace std;  using namespace std;
8    
# Line 62  Reporter::reportErrorPython(ERROR_REPORT Line 63  Reporter::reportErrorPython(ERROR_REPORT
63      pyfunc = (PyObject *)client_data;      pyfunc = (PyObject *)client_data;
64            
65      char msg[REPORTER_MAX_ERROR_MSG];      char msg[REPORTER_MAX_ERROR_MSG];
66      vsnprintf(msg,REPORTER_MAX_ERROR_MSG,fmt,args);      vsprintf(msg,fmt,args);
67    
68      //cerr << "reportErrorPython: msg=" << msg ;      //cerr << "reportErrorPython: msg=" << msg ;
69      //cerr << "reportErrorPython: pyfunc=" << pyfunc << endl;      //cerr << "reportErrorPython: pyfunc=" << pyfunc << endl;

Legend:
Removed from v.132  
changed lines
  Added in v.190

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