[nit] Avoid dispatching to parent when not needed in c_glib implementation (#3149)
As titled. This avoids dispatching calls up to the parent implementation if there isn't one, saving a hop. <!-- We recommend you review the checklist/tips before submitting a pull request. --> - [x] Did you create an [Apache Jira](https://issues.apache.org/jira/projects/THRIFT/issues/) ticket? ([Request account here](https://selfserve.apache.org/jira-account.html), not required for trivial changes) - [ ] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"? - [ ] Did you squash your changes to a single commit? (not required, but preferred) - [ ] Did you do your best to avoid breaking changes? If one was needed, did you label the Jira ticket with "Breaking-Change"? - [ ] If your change does not involve any code, include `[skip ci]` anywhere in the commit message to free up build resources. I tested this by: * Building the compiler * Building the c_glib tutorial server and client * Verifying that the client/server interaction works as previously expected * Inspecting the generated code and noticing shared_service.c does not have the code to dispatch to its parent anymore, while the calculator.c implementation does.
H
Hasnain Lakhani committed
3f6d8a57ceaf055062334b422b5a32cdee1598fc
Parent: 28553fa
Committed by GitHub <noreply@github.com>
on 8/25/2025, 4:24:10 PM