diff options
author | Thomas White <taw@bitwiz.me.uk> | 2019-04-13 12:11:26 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2019-04-13 12:11:26 +0200 |
commit | a52d8c455caafff5bf4ae6f0b15219d3f0d38119 (patch) | |
tree | 2b0da4a70575b9b1b042b804cecdeca95a0b1c37 /src/pr_clock.h | |
parent | 0eb0908d7f5bbf1b65e502095a3c1545751f17fa (diff) |
Make clock unique to narrative window, and fix cleanup logic
Diffstat (limited to 'src/pr_clock.h')
-rw-r--r-- | src/pr_clock.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pr_clock.h b/src/pr_clock.h index 97d2d0d..3b971a9 100644 --- a/src/pr_clock.h +++ b/src/pr_clock.h @@ -1,7 +1,7 @@ /* * pr_clock.h * - * Copyright © 2013-2018 Thomas White <taw@bitwiz.org.uk> + * Copyright © 2013-2019 Thomas White <taw@bitwiz.org.uk> * * This file is part of Colloquium. * @@ -29,9 +29,11 @@ typedef struct pr_clock PRClock; -extern PRClock *pr_clock_new(void); +extern PRClock *pr_clock_new(PRClock **delete_ptr); extern void pr_clock_set_pos(PRClock *n, int pos, int end); +extern void pr_clock_destroy(PRClock *n); + #endif /* CLOCK_H */ |