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

Diff of /trunk/pygtk/integrator.cpp

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

revision 976 by johnpye, Tue Dec 19 00:57:26 2006 UTC revision 977 by johnpye, Wed Dec 20 00:39:52 2006 UTC
# Line 162  Integrator::setEngine(const string &name Line 162  Integrator::setEngine(const string &name
162  map<int,string>  map<int,string>
163  Integrator::getEngines(){  Integrator::getEngines(){
164      map<int,string> m;      map<int,string> m;
165      IntegratorLookup *list;      const IntegratorLookup *list = integrator_get_engines();
     integrator_get_engines(&list);  
166      while(list->id != INTEG_UNKNOWN){      while(list->id != INTEG_UNKNOWN){
167          m.insert(pair<int,string>(list->id,list->name));          m.insert(pair<int,string>(list->id,list->name));
168          ++list;          ++list;

Legend:
Removed from v.976  
changed lines
  Added in v.977

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