1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef __TEAMS_H__
# define __TEAMS_H__
# include <stdint.h>
# include <stdbool.h>
# include "cobj.h"
# include "common.h"
// Type definition
CLASS( team, {
LIST(team, name, char, [255]);
LIST(team, member_name, char, [3][255], int);
LIST(team, institution, char, [255]);
ATOM(team, solved, uint8_t);
FUNC(team, printf, int);
FUNC(team, fprintf, int, FILE *);
FUNC(team, find_champion, team, ptr(team), size_t);
});
# include "cobj.h"
#endif /* __TEAMS_H__ */
/* vim: ts=8 */
|