Skip to content

Removed some functions in common.c and replaced them in utils.cpp - #787

Merged
ahcorde merged 1 commit into
masterfrom
ahcorde/improved/cpp
May 11, 2021
Merged

ahcorde merged 1 commit into
masterfrom
ahcorde/improved/cpp

Conversation

@ahcorde

@ahcorde ahcorde commented May 5, 2021 •

Copy link
Copy Markdown
Contributor

Removed some functions in common.c and created an analog method in utils.cpp if doesn't exist:

  • rclpy_convert_from_py
  • rclpy_convert_to_py
  • rclpy_create_from_py
  • get_capsule_pointer
  • rclpy_common_get_type_support

This PR could be backported to galactic

Signed-off-by: ahcorde [email protected]

@ahcorde ahcorde added the enhancement New feature or request label May 5, 2021
@ahcorde
ahcorde requested a review from sloretz May 5, 2021 18:27
@ahcorde ahcorde self-assigned this May 5, 2021
@ahcorde

ahcorde commented May 5, 2021

Copy link
Copy Markdown
Contributor Author

Building up-to rclpy and testing rclpy

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

@gbalke gbalke left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Seems like most of these functions were duplicated between common.c and utils.cpp nice to see them cleaned up 😄

@ahcorde
ahcorde merged commit aabd379 into master May 11, 2021
@delete-merged-branch
delete-merged-branch Bot deleted the ahcorde/improved/cpp branch May 11, 2021 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants