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

Diff of /trunk/pygtk/type.cpp

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

revision 1726 by jpye, Sat Jan 5 02:49:48 2008 UTC revision 1727 by jpye, Tue Jan 15 23:03:20 2008 UTC
# Line 215  Type::isFundamental() const{ Line 215  Type::isFundamental() const{
215  }  }
216    
217  const bool  const bool
218    Type::isModel() const{
219        return GetBaseType(t) == model_type;
220    }
221    
222    const bool
223  Type::hasParameters() const{  Type::hasParameters() const{
224      return TypeHasParameterizedInsts(t);      return GetModelParameterCount(t) > 0;
225  }  }
226    
227  bool  bool

Legend:
Removed from v.1726  
changed lines
  Added in v.1727

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