Mercurial > molko
comparison libmlk-core/mlk/core/action-stack.h @ 517:6e8f6640e05b
misc: use extern C manually
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 04 Mar 2023 14:23:59 +0100 |
parents | a11cd7ea3a37 |
children | 47f0fe6f6581 |
comparison
equal
deleted
inserted
replaced
516:6af0524913b3 | 517:6e8f6640e05b |
---|---|
30 * member function returns non-zero after completion. | 30 * member function returns non-zero after completion. |
31 */ | 31 */ |
32 | 32 |
33 #include <stddef.h> | 33 #include <stddef.h> |
34 | 34 |
35 #include "core.h" | |
36 | |
37 struct mlk_action; | 35 struct mlk_action; |
38 | 36 |
39 union mlk_event; | 37 union mlk_event; |
40 | 38 |
41 /** | 39 /** |
61 * dimension. | 59 * dimension. |
62 */ | 60 */ |
63 size_t actionsz; | 61 size_t actionsz; |
64 }; | 62 }; |
65 | 63 |
66 MLK_CORE_BEGIN_DECLS | 64 #if defined(__cplusplus) |
65 extern "C" { | |
66 #endif | |
67 | 67 |
68 /** | 68 /** |
69 * Initialize the action sequence structure. | 69 * Initialize the action sequence structure. |
70 * | 70 * |
71 * This function will set all pointers in the ::mlk_action_stack::actions to | 71 * This function will set all pointers in the ::mlk_action_stack::actions to |
149 * \param stack the action stack | 149 * \param stack the action stack |
150 */ | 150 */ |
151 void | 151 void |
152 mlk_action_stack_finish(struct mlk_action_stack *stack); | 152 mlk_action_stack_finish(struct mlk_action_stack *stack); |
153 | 153 |
154 MLK_CORE_END_DECLS | 154 #if defined(__cplusplus) |
155 } | |
156 #endif | |
155 | 157 |
156 #endif /* !MLK_CORE_ACTION_STACK_H */ | 158 #endif /* !MLK_CORE_ACTION_STACK_H */ |