Commit dc3d4f0
committed
router: use explicit args in API calls
Currently, internal router API functions use varargs to pass arguments.
This differs from the storage API implementation, where arguments are
explicit.
This patch replaces varargs with explicit arguments in the
router_api_call_safe, router_api_call_unsafe and router_make_api
functions.
Motivation:
- Consistency between router and storage internal APIs
- Using explicit arguments instead of varargs is more
friendly to the JIT compiler
Part of #266
NO_DOC=refactoring
NO_TEST=refactoring1 parent 1d6c197 commit dc3d4f0
1 file changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1661 | 1661 | | |
1662 | 1662 | | |
1663 | 1663 | | |
1664 | | - | |
1665 | | - | |
| 1664 | + | |
| 1665 | + | |
1666 | 1666 | | |
1667 | 1667 | | |
1668 | 1668 | | |
1669 | 1669 | | |
1670 | 1670 | | |
1671 | 1671 | | |
1672 | | - | |
| 1672 | + | |
| 1673 | + | |
1673 | 1674 | | |
1674 | 1675 | | |
1675 | 1676 | | |
| |||
1680 | 1681 | | |
1681 | 1682 | | |
1682 | 1683 | | |
1683 | | - | |
| 1684 | + | |
1684 | 1685 | | |
1685 | 1686 | | |
1686 | 1687 | | |
1687 | | - | |
1688 | | - | |
| 1688 | + | |
| 1689 | + | |
1689 | 1690 | | |
1690 | 1691 | | |
1691 | 1692 | | |
| |||
0 commit comments