-
Notifications
You must be signed in to change notification settings - Fork 125
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
Conversation
Signed-off-by: m12watanabe1a <40206149+m12watanabe1a@users.noreply.github.com>
resize
function for Stringresize
function for String
* | ||
* \param[in] n the new size of the internal buffer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* | |
* \param[in] n the new size of the internal buffer | |
* | |
* \param[ ] str ... | |
* \param[in] n the new size of the internal buffer |
There was a problem hiding this comment.
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>
There was a problem hiding this 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.
bool rosidl_runtime_c__String__resize( | ||
rosidl_runtime_c__String *str, size_t n) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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) |
@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>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've fixed the following issue and confirmed that the test is passing.
#764