Skip to content

Commit

Permalink
rd_ts_t helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
edenhill committed May 23, 2022
1 parent adc7261 commit f88fb83
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/rdtypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@
*/
typedef int64_t rd_ts_t;

#define RD_TS_MAX INT64_MAX
#define RD_TS_MILLI 1000
#define RD_TS_SECOND (1000 * 1000)
#define RD_TS_MINUTE (60 * RD_TS_SECOND)
#define RD_TS_MAX INT64_MAX


typedef uint8_t rd_bool_t;
Expand Down

0 comments on commit f88fb83

Please sign in to comment.