diff options
| author | dam <dam@gudinoff> | 2023-02-26 03:06:09 +0000 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2023-02-26 03:06:09 +0000 |
| commit | b75c965d3d2bb4bd9059d0df0366cd54f76825ff (patch) | |
| tree | fee595959de6c3a52fe0113247dcace1d0810993 /ttt.jai | |
| parent | 1c4f10d917b8bdff3c2b066f4b51843d4ad490b7 (diff) | |
| download | task-time-tracker-b75c965d3d2bb4bd9059d0df0366cd54f76825ff.tar.zst task-time-tracker-b75c965d3d2bb4bd9059d0df0366cd54f76825ff.zip | |
Prototyping syscalls.
Diffstat (limited to 'ttt.jai')
| -rw-r--r-- | ttt.jai | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -1250,15 +1250,19 @@ typedef struct { int64_t total_times[NUM_WEEK_DAYS]; } database_st; */ -/* -Database :: struct { - active_task : *~s64 Task = null; - selected_task : *~s64 Task = null; + +DatabaseX :: struct { + active_idx : s64; + selected_task : s64; modified_on : s64; total_times : [NUM_WEEK_DAYS] s64; - tasks : [..] Task; + tasks : [] Task; } -*/ + + + dd: DatabaseX; + + db : Database; |
