Show
Ignore:
Timestamp:
04/12/08 11:22:27 (9 months ago)
Author:
tom
Message:

Revert previous fix for #89 and add a new improved fix that enhances the
value class to have a proper null type and do comparisions SQL style so
that null is neither equal nor not equal to other things.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/bindings/python/mapnik_feature.cpp

    r650 r693  
    4747            { 
    4848               return ::PyUnicode_FromWideChar((wchar_t*)s.getBuffer(),implicit_cast<ssize_t>(s.length())); 
     49            } 
     50             
     51            PyObject * operator() (mapnik::value_null const& s) const 
     52            { 
     53               return NULL; 
    4954            } 
    5055      };