Port timestampCompare/Diff to xcb
basically: s/Time/xcb_timestamp_t/g
This commit is contained in:
parent
20f9af1571
commit
5018c35313
1 changed files with 2 additions and 2 deletions
4
utils.h
4
utils.h
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue