Mercurial > molko
comparison libmlk-ui/mlk/ui/gridmenu.h @ 517:6e8f6640e05b
misc: use extern C manually
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 04 Mar 2023 14:23:59 +0100 |
parents | d49a05e7a5b5 |
children | 2527b000aaa5 |
comparison
equal
deleted
inserted
replaced
516:6af0524913b3 | 517:6e8f6640e05b |
---|---|
18 | 18 |
19 #ifndef MLK_UI_GRIDMENU_H | 19 #ifndef MLK_UI_GRIDMENU_H |
20 #define MLK_UI_GRIDMENU_H | 20 #define MLK_UI_GRIDMENU_H |
21 | 21 |
22 #include <stddef.h> | 22 #include <stddef.h> |
23 | |
24 #include <mlk/core/core.h> | |
25 | 23 |
26 #include "label.h" | 24 #include "label.h" |
27 | 25 |
28 union mlk_event; | 26 union mlk_event; |
29 | 27 |
63 }; | 61 }; |
64 | 62 |
65 extern struct mlk_gridmenu_style mlk_gridmenu_style; | 63 extern struct mlk_gridmenu_style mlk_gridmenu_style; |
66 extern struct mlk_gridmenu_delegate mlk_gridmenu_delegate; | 64 extern struct mlk_gridmenu_delegate mlk_gridmenu_delegate; |
67 | 65 |
68 MLK_CORE_BEGIN_DECLS | 66 #if defined(__cplusplus) |
67 extern "C" { | |
68 #endif | |
69 | 69 |
70 int | 70 int |
71 mlk_gridmenu_ok(const struct mlk_gridmenu *); | 71 mlk_gridmenu_ok(const struct mlk_gridmenu *); |
72 | 72 |
73 void | 73 void |
80 mlk_gridmenu_update(struct mlk_gridmenu *, unsigned int); | 80 mlk_gridmenu_update(struct mlk_gridmenu *, unsigned int); |
81 | 81 |
82 void | 82 void |
83 mlk_gridmenu_draw(const struct mlk_gridmenu *); | 83 mlk_gridmenu_draw(const struct mlk_gridmenu *); |
84 | 84 |
85 MLK_CORE_END_DECLS | 85 #if defined(__cplusplus) |
86 } | |
87 #endif | |
86 | 88 |
87 #endif /* !MLK_UI_GRIDMENU_H */ | 89 #endif /* !MLK_UI_GRIDMENU_H */ |