summaryrefslogtreecommitdiff
path: root/src/teams.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/teams.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/teams.h b/src/teams.h
index e22b262..342ce95 100644
--- a/src/teams.h
+++ b/src/teams.h
@@ -3,6 +3,8 @@
# include <stdint.h>
# include <stdbool.h>
# include "cobj.h"
+# include "common.h"
+
// Type definition
typedef struct team_impl_struct * team;
@@ -11,9 +13,9 @@ NEW(team);
DEL(team);
// field getters
-SETTER(team, name, char *);
-SETTER(team, institution, char *);
-SETTER(team, member_name, char *, int);
+SETTER(team, name, const ref(char));
+SETTER(team, institution, const ref(char));
+SETTER(team, member_name, const ref(char), int);
SETTER(team, solved, uint8_t);
// field setters