Port timestampCompare/Diff to xcb

basically: s/Time/xcb_timestamp_t/g
This commit is contained in:
Martin Gräßlin 2013-05-02 09:49:31 +02:00
parent 20f9af1571
commit 5018c35313

View file

@ -290,13 +290,13 @@ Unmanaged* findUnmanagedInList(const UnmanagedList& list, T predicate)
}
inline
int timestampCompare(Time time1, Time time2) // like strcmp()
int timestampCompare(xcb_timestamp_t time1, xcb_timestamp_t time2) // like strcmp()
{
return NET::timestampCompare(time1, time2);
}
inline
Time timestampDiff(Time time1, Time time2) // returns time2 - time1
xcb_timestamp_t timestampDiff(xcb_timestamp_t time1, xcb_timestamp_t time2) // returns time2 - time1
{
return NET::timestampDiff(time1, time2);
}