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

Diff of /trunk/pygtk/extmethod.h

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 3  Line 3 
3    
4  #include "config.h"  #include "config.h"
5    
6    #ifdef ASCXX_USE_PYTHON
7    # include <Python.h>
8    #endif
9    
10  extern "C"{  extern "C"{
11  #include <utilities/ascConfig.h>  #include <utilities/ascConfig.h>
12  #include <compiler/compiler.h>  #include <compiler/compiler.h>
13  #include <compiler/extfunc.h>  #include <compiler/extfunc.h>
14    #include <compiler/importhandler.h>
15  }  }
16    
 #include "symchar.h"  
   
 #ifdef ASCXX_USE_PYTHON  
 # include <Python.h>  
 #endif  
   
17  /**  /**
18      This is a wrapper for external methods as returned      This is a wrapper for external methods as returned
19      by the getExtMethods method of the Library object. At this stage it      by the getExtMethods method of the Library object. At this stage it
# Line 25  private: Line 24  private:
24      const struct ExternalFunc *e;      const struct ExternalFunc *e;
25  public:  public:
26      ExtMethod();      ExtMethod();
     ExtMethod(const struct ExternalFunc *);  
     ExtMethod(const ExtMethod &);  
27  #ifdef ASCXX_USE_PYTHON  #ifdef ASCXX_USE_PYTHON
28      ExtMethod(PyObject *);      ExtMethod(PyObject *);
29  #endif  #endif
30        ExtMethod(const struct ExternalFunc *);
31        ExtMethod(const ExtMethod &);
32      const char *getHelp() const;      const char *getHelp() const;
33      const char *getName() const;      const char *getName() const;
34      const unsigned long getNumInputs() const;      const unsigned long getNumInputs() const;

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

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