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

Diff of /trunk/pygtk/method.cpp

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

revision 1290 by johnpye, Thu Nov 23 13:23:33 2006 UTC revision 1291 by johnpye, Mon Feb 26 06:20:43 2007 UTC
# Line 29  Method::getInternalType() const{ Line 29  Method::getInternalType() const{
29  const char*  const char*
30  Method::getName() const{  Method::getName() const{
31      if(initproc==NULL)throw runtime_error("NULL initproc value");      if(initproc==NULL)throw runtime_error("NULL initproc value");
32      return SCP( initproc->name );      return SCP( ProcName(initproc) );
33  }  }
34    
35  SymChar  SymChar
36  Method::getSym() const{  Method::getSym() const{
37      /// @TODO this is not efficient. couldn't make it work the right way though...      /// @TODO this is not efficient. couldn't make it work the right way though...
38      if(initproc==NULL)throw runtime_error("NULL initproc value");      return SymChar(getName());
     return SymChar( SCP( initproc->name ));  
39  }  }

Legend:
Removed from v.1290  
changed lines
  Added in v.1291

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