[vtk-developers] Add GetModifiedTime deprecate GetMTime
Brad King
brad.king at kitware.com
Fri Aug 5 15:52:44 EDT 2016
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
More information about the vtk-developers
mailing list