1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#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);
Del (team);
});
# include "cobj.h"
#endif /* __TEAMS_H__ */
/* vim: ts=8 */
|