/[ascend]/trunk/pygtk/ascpy.i
ViewVC logotype

Diff of /trunk/pygtk/ascpy.i

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

revision 870 by johnpye, Wed Oct 4 14:03:46 2006 UTC revision 871 by johnpye, Thu Oct 5 09:30:08 2006 UTC
# Line 111  public: Line 111  public:
111  %rename(getSetIntValue) Instanc::getSetValue<long>;  %rename(getSetIntValue) Instanc::getSetValue<long>;
112  %rename(getSetStringValue) Instanc::getSetValue<SymChar>;  %rename(getSetStringValue) Instanc::getSetValue<SymChar>;
113  %rename(Units) UnitsM;  %rename(Units) UnitsM;
 %rename(set) Registry::setPyObject;  
   
114    
115  // Grab a Python function object as a Python object.  // Grab a Python function object as a Python object.
116  %typemap(in) PyObject *pyfunc {  %typemap(in) PyObject *pyfunc {
# Line 472  public: Line 470  public:
470      }      }
471  }  }
472    
 %include "config.h"  
473  %include "registry.h"  %include "registry.h"
474    %extend Registry{
475        void set(const char *key, PyObject *obj){
476            self->setPyObject(key,obj);
477        }
478    }
479    
480  %include "solver.i"  %include "solver.i"
481    

Legend:
Removed from v.870  
changed lines
  Added in v.871

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