-
Notifications
You must be signed in to change notification settings - Fork 50
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
Documentation: fix C++ South plugin signatures involving PLUGIN_HANDLE #1195
base: develop
Are you sure you want to change the base?
Documentation: fix C++ South plugin signatures involving PLUGIN_HANDLE #1195
Conversation
Fix the issue fledge-iot#1069 In the 'plugin_developers_guide/03_south_C_plugins.html' documentation page, the signature of some plugin functions involving PLUGIN_HANDLE is erroneous. According to the definitions of the function pointers about the South plugins ($FLEDGE_ROOT/C/services/south/include/south_plugin.h), fix these signatures. And use the appropriate C++ 'cast' operator, more restrictive and accurate 'cast' operator than the C one, for the 'PLUGIN_HANDLE' object. Signed-off-by: Mikael Bourhis <[email protected]>
The code source of the examples have also been updated; see:
|
This PR concerns the 'South plugin' but other documentation pages are also concerned by this 'inconsistency':
|
this PR is about the issue #1069, So, I am looking for a reviewer for this PR. Thank you. |
Hi @MarkRiddoch , I would like to know if you are ok or not with this commit Thank you. |
Fix the issue #1069
In the 'plugin_developers_guide/03_south_C_plugins.html' documentation page, the signature of some plugin functions involving PLUGIN_HANDLE is erroneous.
According to the definitions of the function pointers about the South plugins ($FLEDGE_ROOT/C/services/south/include/south_plugin.h), fix these signatures.
And use the appropriate C++ 'cast' operator,
more restrictive and accurate 'cast' operator than the C one, for the 'PLUGIN_HANDLE' object.