/[ascend]/trunk/pygtk/extmethod.cpp
ViewVC logotype

Diff of /trunk/pygtk/extmethod.cpp

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

revision 892 by johnpye, Wed Oct 4 15:18:18 2006 UTC revision 893 by johnpye, Sun Oct 22 05:18:36 2006 UTC
# Line 1  Line 1 
1    #include "extmethod.h"
2    
3  #include <stdexcept>  #include <stdexcept>
4  using namespace std;  using namespace std;
5    
6  #include "extmethod.h"  #ifndef ASCXX_USE_PYTHON
7    # error "Where's ASCXX_USE_PYTHON?"
 #ifdef ASCXX_USE_PYTHON  
 extern "C"{  
 # include <compiler/importhandler.h>  
 }  
8  #endif  #endif
9    
10  /*--- WARNING ---  /*--- WARNING ---
# Line 53  ExtMethod::ExtMethod(PyObject *obj){ Line 51  ExtMethod::ExtMethod(PyObject *obj){
51  }  }
52  #endif  #endif
53    
54    
55  const char *  const char *
56  ExtMethod::getName() const{  ExtMethod::getName() const{
57      return ExternalFuncName(e);      return ExternalFuncName(e);

Legend:
Removed from v.892  
changed lines
  Added in v.893

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