Mercurial > molko
diff libmlk-core/core/game.h @ 292:08ab73b32832
misc: add extern "C" {} blocks for C++ friends
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 05 Mar 2021 10:08:09 +0100 |
parents | 60a214ec1ab4 |
children | 196264679079 |
line wrap: on
line diff
--- a/libmlk-core/core/game.h Fri Jan 08 13:15:24 2021 +0100 +++ b/libmlk-core/core/game.h Fri Mar 05 10:08:09 2021 +0100 @@ -21,6 +21,7 @@ #include <stdbool.h> +#include "core.h" #include "inhibit.h" struct state; @@ -38,6 +39,8 @@ extern struct game game; +CORE_BEGIN_DECLS + void game_switch(struct state *state, bool quick); @@ -59,4 +62,6 @@ void game_quit(void); +CORE_END_DECLS + #endif /* !MOLKO_CORE_GAME_H */