Skip to content

Commit

Permalink
Fix rclc lifecyle header (#279)
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Garrido <[email protected]>
  • Loading branch information
pablogs9 authored Apr 8, 2022
1 parent 3a09087 commit 2442f75
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions rclc_lifecycle/include/rclc_lifecycle/rclc_lifecycle.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
#ifndef RCLC_LIFECYCLE__RCLC_LIFECYCLE_H_
#define RCLC_LIFECYCLE__RCLC_LIFECYCLE_H_

#if __cplusplus
extern "C"
{
#endif

#define RCLC_LIFECYCLE_MAX_NUMBER_OF_STATES 100 // highest transition id: 99

#include <rcutils/logging_macros.h>
Expand Down Expand Up @@ -157,4 +162,8 @@ rclc_lifecycle_node_fini(
rclc_lifecycle_node_t * node,
rcl_allocator_t * allocator);

#if __cplusplus
}
#endif

#endif // RCLC_LIFECYCLE__RCLC_LIFECYCLE_H_

0 comments on commit 2442f75

Please sign in to comment.