[vtk-developers] Add GetModifiedTime deprecate GetMTime

Bill Lorensen bill.lorensen at gmail.com
Fri Aug 5 15:54:12 EDT 2016


+2


On Fri, Aug 5, 2016 at 3:52 PM, Brad King <brad.king at kitware.com> wrote:
> On 08/05/16 15:45, Bill Lorensen wrote:
>>
>> Why not in vtkType.h
>> #if defined(WIN32)
>> typedef vtkTypeUInt64 vtkTypeMTime;
>> #else
>> typedef unsigned long vtkTypeMTime;
>> #endif
>>
>> In vtkObject.h and other GetMTimes'
>>   virtual vtkTypeMTime GetMTime();
>>
>> Windows apps will have to change their GetMTimes' in their VTK derived
>> subclasses.
>
>
> With a trivial re-ordering in `Common/Core/vtkType.h` to
> prefer `long` over `long long` when the former is 64-bit
> then `vtkTypeUInt64` will be selected as above automatically
> and can serve this role without a separate typedef.  This
> would make vtkType.h more consistent anyway.
>
> -Brad
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtk-developers mailing list