Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement resize function for String #806

Merged
merged 4 commits into from
Apr 30, 2024
Merged

Implement resize function for String #806

merged 4 commits into from
Apr 30, 2024

Conversation

m12watanabe1a
Copy link
Contributor

I've fixed the following issue and confirmed that the test is passing.

#764

Signed-off-by: m12watanabe1a <40206149+m12watanabe1a@users.noreply.github.com>
Signed-off-by: m12watanabe1a <40206149+m12watanabe1a@users.noreply.github.com>
@m12watanabe1a m12watanabe1a changed the title #764: Implement resize function for String Implement resize function for String Apr 29, 2024
Comment on lines 123 to 124
*
* \param[in] n the new size of the internal buffer
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
*
* \param[in] n the new size of the internal buffer
*
* \param[ ] str ...
* \param[in] n the new size of the internal buffer

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for cheking it.
I've been added a comment for the missing parameter with the following commit.

Signed-off-by: m12watanabe1a <40206149+m12watanabe1a@users.noreply.github.com>
@ahcorde
Copy link
Contributor

ahcorde commented Apr 29, 2024

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

Copy link

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

lgtm with green CI. one minor format change request.

Comment on lines 146 to 147
bool rosidl_runtime_c__String__resize(
rosidl_runtime_c__String *str, size_t n)

Choose a reason for hiding this comment

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

Suggested change
bool rosidl_runtime_c__String__resize(
rosidl_runtime_c__String *str, size_t n)
bool
rosidl_runtime_c__String__resize(
rosidl_runtime_c__String *str, size_t n)

@ahcorde
Copy link
Contributor

ahcorde commented Apr 30, 2024

@m12watanabe1a do you mind to apply the suggestion ?

@m12watanabe1a
Copy link
Contributor Author

@m12watanabe1a do you mind to apply the suggestion ?

Sorry for getting late to reply and I'm fixing it.

Signed-off-by: WATANABE Aoi <40206149+m12watanabe1a@users.noreply.github.com>
Copy link
Contributor

@ahcorde ahcorde left a comment

Choose a reason for hiding this comment

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

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

@ahcorde ahcorde merged commit 4ba0eff into ros2:rolling Apr 30, 2024
4 checks passed
@m12watanabe1a m12watanabe1a deleted the rolling_764 branch May 1, 2024 02:34
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.

3 participants