summaryrefslogtreecommitdiff
path: root/toxcore/mono_time.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/mono_time.h')
-rw-r--r--toxcore/mono_time.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/toxcore/mono_time.h b/toxcore/mono_time.h
index 489bf138..ed69e3b0 100644
--- a/toxcore/mono_time.h
+++ b/toxcore/mono_time.h
@@ -43,14 +43,14 @@ typedef struct Mono_Time Mono_Time;
43#endif /* MONO_TIME_DEFINED */ 43#endif /* MONO_TIME_DEFINED */
44 44
45Mono_Time *mono_time_new(void); 45Mono_Time *mono_time_new(void);
46void mono_time_free(Mono_Time *monotime); 46void mono_time_free(Mono_Time *mono_time);
47 47
48void mono_time_update(Mono_Time *monotime); 48void mono_time_update(Mono_Time *mono_time);
49uint64_t mono_time_get(const Mono_Time *monotime); 49uint64_t mono_time_get(const Mono_Time *mono_time);
50bool mono_time_is_timeout(const Mono_Time *monotime, uint64_t timestamp, uint64_t timeout); 50bool mono_time_is_timeout(const Mono_Time *mono_time, uint64_t timestamp, uint64_t timeout);
51 51
52/* return current monotonic time in milliseconds (ms). */ 52/* return current monotonic time in milliseconds (ms). */
53uint64_t current_time_monotonic(const Mono_Time *monotime); 53uint64_t current_time_monotonic(const Mono_Time *mono_time);
54 54
55#ifdef __cplusplus 55#ifdef __cplusplus
56} 56}