summaryrefslogtreecommitdiff
path: root/src/teams.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/teams.h')
-rw-r--r--src/teams.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/teams.h b/src/teams.h
index 98fb6f3..62ca7f2 100644
--- a/src/teams.h
+++ b/src/teams.h
@@ -2,9 +2,10 @@
# define __TEAMS_H__
# include <stdint.h>
# include <stdbool.h>
-# include "cobj.h"
# include "common.h"
+# define __COBJ_DECL__
+# include "cobj.h"
// Type definition
Class(team, {
List(team, name, char, [255]);
@@ -16,6 +17,8 @@ Class(team, {
Func(team, find_champion, team, ptr(team), size_t);
Del (team);
});
+
+# define __COBJ_PUB__
# include "cobj.h"
#endif /* __TEAMS_H__ */
/* vim: ts=8 */