/[escript]/trunk/escript/src/WrappedArray.cpp
ViewVC logotype

Diff of /trunk/escript/src/WrappedArray.cpp

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

revision 3489 by jfenwick, Thu Jan 28 02:03:15 2010 UTC revision 3490 by caltinay, Wed Mar 30 02:24:33 2011 UTC
# Line 26  namespace Line 26  namespace
26  void checkFeatures(const boost::python::object& obj)  void checkFeatures(const boost::python::object& obj)
27  {  {
28      using namespace std;      using namespace std;
     int len=0;  
29      boost::python::object o2;      boost::python::object o2;
30      try      try
31      {      {
32         len=extract<int>(obj.attr("__len__")());         /*int len=*/ extract<int>(obj.attr("__len__")());
33      }      }
34      catch (...)      catch (...)
35      {      {

Legend:
Removed from v.3489  
changed lines
  Added in v.3490

  ViewVC Help
Powered by ViewVC 1.1.26