Mercurial > molko
diff libmlk-ui/mlk/ui/align.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 | 20e9fd578b44 |
line wrap: on
line diff
--- a/libmlk-ui/mlk/ui/align.h Sat Mar 04 11:23:10 2023 +0100 +++ b/libmlk-ui/mlk/ui/align.h Sat Mar 04 14:23:59 2023 +0100 @@ -19,8 +19,6 @@ #ifndef MLK_UI_ALIGN_H #define MLK_UI_ALIGN_H -#include <mlk/core/core.h> - enum mlk_align { MLK_ALIGN_NONE, MLK_ALIGN_CENTER, @@ -34,7 +32,9 @@ MLK_ALIGN_LEFT }; -MLK_CORE_BEGIN_DECLS +#if defined(__cplusplus) +extern "C" { +#endif void mlk_align(enum mlk_align, @@ -47,6 +47,8 @@ unsigned int, unsigned int); -MLK_CORE_END_DECLS +#if defined(__cplusplus) +} +#endif #endif /* !MLK_UI_ALIGN_H */