-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Remove PluginCallbacks.h header, remove ClientInit callbacks (weak linkage) #23299
Merged
andy31415
merged 2 commits into
project-chip:master
from
andy31415:remove_pluginc_callbacks
Oct 21, 2022
Merged
Remove PluginCallbacks.h header, remove ClientInit callbacks (weak linkage) #23299
andy31415
merged 2 commits into
project-chip:master
from
andy31415:remove_pluginc_callbacks
Oct 21, 2022
Conversation
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
This file is not really needed by anything except advance declaration by PluginApplicationCallbachs.h. We can codegen the callbacks in that file.
pullapprove
bot
requested review from
anush-apple,
arkq,
Byungjoo-Lee,
bzbarsky-apple,
carol-apple,
chrisdecenzo,
chshu,
chulspro,
Damian-Nordic,
dhrishi,
electrocucaracha,
erjiaqing,
franck-apple,
gjc13,
harimau-qirex,
harsha-rajendran,
hawk248,
isiu-apple,
jelderton,
jepenven-silabs,
jmartinez-silabs,
jtung-apple,
kpschoedel,
lazarkov,
LuDuda,
mlepage-google,
msandstedt and
mspang
October 21, 2022 18:36
pullapprove
bot
requested review from
rgoliver,
robszewczyk,
saurabhst,
selissia,
tecimovic,
tehampson,
turon,
vijs,
vivien-apple,
wbschiller,
woody-apple,
xylophone21 and
yufengwangca
October 21, 2022 18:36
selissia
approved these changes
Oct 21, 2022
bzbarsky-apple
approved these changes
Oct 21, 2022
pullapprove
bot
added
review - approved
and removed
scripts
app
review - pending
labels
Oct 21, 2022
PR #23299: Size comparison from 559c7d5 to f187515 Increases (1 build for cyw30739)
Decreases (19 builds for bl602, bl702, cyw30739, k32w, linux, nrfconnect, psoc6, qpg, telink)
Full report (24 builds for bl602, bl702, cyw30739, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
adbridge
pushed a commit
to ARM-software/connectedhomeip
that referenced
this pull request
Nov 18, 2022
…nkage) (project-chip#23299) * Remove `PluginCallbacks` generated file. This file is not really needed by anything except advance declaration by PluginApplicationCallbachs.h. We can codegen the callbacks in that file. * Remove ClientInitCallback
adbridge
pushed a commit
to ARM-software/connectedhomeip
that referenced
this pull request
Nov 18, 2022
…nkage) (project-chip#23299) * Remove `PluginCallbacks` generated file. This file is not really needed by anything except advance declaration by PluginApplicationCallbachs.h. We can codegen the callbacks in that file. * Remove ClientInitCallback
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PluginCallbacks.h
header is only included by PluginApplicationCallbacks, so no need as a separate headers*PluginClientInit
callbacks were never used and are remnants from ember logic where client and server clusters are treated differently. For matter we only need the server init.PR removes the PluginCallbacks template and generation, places the forward declaration of the plugin callbacks in the header defining the init call. It also completely removes the PluginClientInit() calls and
__weak__
implementations.