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

add options to use char* in arguments #113

Open
angrest opened this issue Sep 1, 2022 · 0 comments
Open

add options to use char* in arguments #113

angrest opened this issue Sep 1, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@angrest
Copy link

angrest commented Sep 1, 2022

The functions publish, subscribe and unsubscribe take String& as arguments, the implementation then passes those as char* (via c_str()) onwards.
In my sketch, I've removed all String instances and only use char*. Thus it would be very helpful (and straightforward to be implemented) if those three functions would be changed to use char* as arguments. To maintain compatibility, the String-versions could call the char* implementations via the same c_str() transformation.

@angrest angrest added the enhancement New feature or request label Sep 1, 2022
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

No branches or pull requests

1 participant