diff options
author | 2023-06-20 22:21:57 +0600 | |
---|---|---|
committer | 2023-06-20 22:21:57 +0600 | |
commit | 06d3ab6ce203be3cb8a9d5bdcf86224b48fa3006 (patch) | |
tree | 6b006b2d407645ad78a588ea83f113f7637f115d /src/teams.h | |
parent | 858a09b5f21d2b8c5f963c0a8fe39c478c95bbde (diff) | |
download | c-obp-example-06d3ab6ce203be3cb8a9d5bdcf86224b48fa3006.tar.gz c-obp-example-06d3ab6ce203be3cb8a9d5bdcf86224b48fa3006.zip |
Rename the Object like template header
Signed-off-by: Mubashshir <ahmubashshir@gmail.com>
Diffstat (limited to 'src/teams.h')
-rw-r--r-- | src/teams.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/teams.h b/src/teams.h index 3eba2f7..87cc01f 100644 --- a/src/teams.h +++ b/src/teams.h @@ -1,9 +1,8 @@ #ifndef __TEAMS_H__ # define __TEAMS_H__ -# define __TEAMS_PRIVATE_H__ # include <stdint.h> # include <stdbool.h> -# include "teams-hell.h" +# include "cobj.h" // Type definition typedef struct team_impl_struct * team; @@ -26,8 +25,7 @@ GETTER(team, solved, uint8_t); // helper functions DEFINE(team, printf, int); DEFINE(team, fprintf, int, FILE *); -DEFINE(team, find_champion, team, team *, unsigned num); +DEFINE(team, find_champion, team, team *, unsigned); -# define __TEAMS_PRIVATE_UNDEF__ -# include "teams-hell.h" +# include "cobj.h" #endif /* __TEAMS_H__ */ |