Mercurial > molko
diff libmlk-rpg/rpg/map.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 | 8ef7fb7f14ad |
children | 196264679079 |
line wrap: on
line diff
--- a/libmlk-rpg/rpg/map.h Fri Jan 08 13:15:24 2021 +0100 +++ b/libmlk-rpg/rpg/map.h Fri Mar 05 10:08:09 2021 +0100 @@ -27,6 +27,7 @@ #include <stddef.h> #include <core/action.h> +#include <core/core.h> #include "walksprite.h" @@ -124,6 +125,8 @@ struct map_layer layers[MAP_LAYER_TYPE_NUM]; }; +CORE_BEGIN_DECLS + /** * Initialize the map. * @@ -175,4 +178,6 @@ void map_finish(struct map *map); +CORE_END_DECLS + #endif /* !MOLKO_RPG_MAP_H */