modified: src/db.c
modified: src/db.h modified: src/planner.c modified: src/planner.h modified: src/test.c
This commit is contained in:
1 parent
b7fab77c62
commit
33cd1e87e3
5 files changed
+72
-18
No files matched your search
@@ -12,9 +12,10 @@
|
||||
#include "planner.h"
|
||||
#include <stdio.h>
|
||||
|
||||
// serialize struct test
|
||||
const char format[] = "{%s = {%lu, %lu, %d}\n"; //
|
||||
int serialize(Subject *s) {
|
||||
printf(format, s->name, s->created, s->deadline, s->priority);
|
||||
// serialize struct test format
|
||||
const char format[] = "{%s = {%lu, %lu, %d, %lu}\n";
|
||||
|
||||
int serialize(Task *s) {
|
||||
printf(format, s->name, s->created, s->deadline, s->priority, s->spare);
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user