treat libc::time_t as a PassByValue

This commit is contained in:
Dustin J. Mitchell 2022-02-12 00:18:01 +00:00
parent af51e0382a
commit 7ebdaa761c
4 changed files with 44 additions and 35 deletions

View file

@ -122,11 +122,11 @@ typedef struct TCTask TCTask;
*/
typedef struct TCAnnotation {
/**
* Time the annotation was made, as a UNIX epoch timestamp
* Time the annotation was made. Must be nonzero.
*/
int64_t entry;
time_t entry;
/**
* Content of the annotation
* Content of the annotation. Must not be NULL.
*/
struct TCString *description;
} TCAnnotation;