Commit Graph

4 Commits

Author SHA1 Message Date
Cheng-Yu Chung ac365cadfb
Remove `include/grpc/impl/codegen/port_platform.h` (#31778) 2022-12-14 10:46:33 +08:00
Craig Tiller 107beb7435
Revert "[promises] Eliminate switch.h (#30317)" (#31523)
This reverts commit c866d65966.
2022-11-02 11:55:35 -07:00
Craig Tiller c866d65966
[promises] Eliminate switch.h (#30317)
* [promises] Eliminate switch.h

Instead build a jump table that we can index into and call the appropriate function. Means that the dispatch mechanism can be done in C++ without a code generator, and so eliminates a bunch of fiddly code.

* fix

* ensure static initialization

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2022-08-05 08:28:33 -07:00
Craig Tiller 78c98a9b06
Switch template metaprogramming helper for promises library (#26908)
* Switch template metaprogramming helper for promises library

* py3
2021-08-09 13:21:51 -07:00