-
Notifications
You must be signed in to change notification settings - Fork 179
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
[python] python api fixed to work again based on new c++/c core api #1439
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -231,12 +231,15 @@ ECAL_API void log_message(const char* message_); | |||||
/** | ||||||
* @brief Create a publisher. | ||||||
* | ||||||
* @param topic_name_ Unique topic name. | ||||||
* @param topic_type_ Topic type name. | ||||||
* @param topic_name_ Unique topic name. | ||||||
* @param topic_type_ Topic type name. | ||||||
* @param topic_enc_ Topic type encoding. | ||||||
* @param topic_desc_ Topic type description. | ||||||
* @param topic_desc_length_ Topic type description length. | ||||||
* | ||||||
* @return Handle of the created publisher or NULL if failed. | ||||||
**/ | ||||||
ECAL_API ECAL_HANDLE pub_create(const char* topic_name_, const char* topic_type_); | ||||||
ECAL_API ECAL_HANDLE pub_create(const char* topic_name_, const char* topic_type_, const char* topic_enc_, const char* topic_desc_, const int topic_desc_length_); | ||||||
|
||||||
/** | ||||||
* @brief Destroy a publisher. | ||||||
|
@@ -287,12 +290,15 @@ ECAL_API bool pub_rem_event_callback(ECAL_HANDLE handle_, enum eCAL_Publisher_Ev | |||||
/** | ||||||
* @brief Create a subscriber. | ||||||
* | ||||||
* @param topic_name_ Unique topic name. | ||||||
* @param topic_type_ Topic type name. | ||||||
* @param topic_name_ Unique topic name. | ||||||
* @param topic_type_ Topic type name. | ||||||
* @param topic_enc_ Topic type encoding. | ||||||
* @param topic_desc_ Topic type description. | ||||||
* @param topic_desc_length_ Topic type description length. | ||||||
* | ||||||
* @return Handle of the created subscriber or NULL if failed. | ||||||
**/ | ||||||
ECAL_API ECAL_HANDLE sub_create(const char* topic_name_, const char* topic_type_); | ||||||
ECAL_API ECAL_HANDLE sub_create(const char* topic_name_, const char* topic_type_, const char* topic_enc_, const char* topic_desc_, const int topic_desc_length_); | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: parameter 'topic_desc_length_' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls]
Suggested change
|
||||||
|
||||||
/** | ||||||
* @brief Destroy a subscriber. | ||||||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
warning: parameter 'topic_desc_length_' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls]