Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Expose native handles #243

Merged
merged 2 commits into from
Aug 23, 2017
Merged

Expose native handles #243

merged 2 commits into from
Aug 23, 2017

Conversation

dirk-thomas
Copy link
Member

Similar to ros2/rmw_fastrtps#145 and ros2/rmw_fastrtps#146.

  • Linux Build Status
  • macOS Build Status
  • Windows Build Status

@dirk-thomas dirk-thomas added the in review Waiting for review (Kanban column) label Aug 21, 2017
@dirk-thomas dirk-thomas self-assigned this Aug 21, 2017
Copy link
Member

@mikaelarguedas mikaelarguedas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, some style comments but code looks good


extern "C"
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it hurt to keep it ? otherwise if we ever add functions here we will have to remember to add back the extern

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see a reason to declare the symbol extern "C". Also none of the other RMW impl. does that.

#include "process_topic_and_service_names.hpp"
#include "type_support_common.hpp"
#include "types/connext_static_client_info.hpp"
#include "rmw_connext_cpp/connext_static_client_info.hpp"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: include order (same in other files below)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fixed the order of this include but as far as I see there are many more includes not following that rule since it is not enforced by the linter atm.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, I made the comment because your analog PR in rmw_fastrtps was complying and not this one. Apparently you fixed only this one though and not the other ones in this PR

@dirk-thomas dirk-thomas merged commit 626823f into master Aug 23, 2017
@dirk-thomas dirk-thomas deleted the expose_native_handles branch August 23, 2017 17:09
@dirk-thomas dirk-thomas removed the in review Waiting for review (Kanban column) label Aug 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants