Skip to content

Support jump handlers with only pre- or post-jump callback#517

Merged
dhood merged 3 commits intomasterfrom
partial_jump_handlers
Jul 17, 2018
Merged

Support jump handlers with only pre- or post-jump callback#517
dhood merged 3 commits intomasterfrom
partial_jump_handlers

Conversation

@dhood
Copy link
Copy Markdown
Member

@dhood dhood commented Jul 17, 2018

We are assuming both pre- and post-jump callback are set for a JumpHandler, which can lead to bad_function_call exceptions.

To me it seems reasonable that only one is provided and not the other, so I took the approach of checking before calling them, but if we think they should both be required and users have to put noops as appropriate, we can add a check to the constructor instead.

@dhood dhood added the in review Waiting for review (Kanban column) label Jul 17, 2018
@dhood dhood self-assigned this Jul 17, 2018
@dhood
Copy link
Copy Markdown
Member Author

dhood commented Jul 17, 2018

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@dhood dhood merged commit 8f2052d into master Jul 17, 2018
@dhood dhood deleted the partial_jump_handlers branch July 17, 2018 21:11
@dhood dhood removed the in review Waiting for review (Kanban column) label Jul 17, 2018
nnmm pushed a commit to ApexAI/rclcpp that referenced this pull request Jul 9, 2022
Include rcl_context_t in the example usage.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
DensoADAS pushed a commit to DensoADAS/rclcpp that referenced this pull request Aug 5, 2022
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants