Bring the wrapper-function call and return prototypes into line with the
convention adopted for orc_rt_Session_callController: the session handle
comes first, then the payload buffer, then the completion callback
immediately followed by its threaded token, with the token last.
orc_rt_WrapperFunctionReturn: (S, CallId, ResultBytes)
-> (S, ResultBytes, CallId)
orc_rt_WrapperFunction: (S, CallId, Return, ArgBytes)
-> (S, ArgBytes, Return, CallId)
The C++ adapters that mirror these signatures are updated to match --
WrapperFunction::handle, SPSWrapperFunction::handle, the
ORC_RT_SPS_WRAPPER macro, and StructuredYield -- along with the Session
dispatch path and the affected unit tests. No functional change beyond
argument order.
|
||
|---|---|---|
| .. | ||
| Inputs | ||
| AllocActionTest.cpp | ||
| AllocActionTestUtils.h | ||
| bind-test.cpp | ||
| bit-test.cpp | ||
| BitmaskEnumTest.cpp | ||
| BootstrapInfoTest.cpp | ||
| CallableTraitsHelperTest.cpp | ||
| CallSPSCITest.cpp | ||
| CCallbackTest.cpp | ||
| CMakeLists.txt | ||
| CommandLineTest.cpp | ||
| CommonTestUtils.h | ||
| CompilerTest.cpp | ||
| DirectCaller.h | ||
| EndianTest.cpp | ||
| ErrorCAPITest.cpp | ||
| ErrorExceptionInteropTest.cpp | ||
| ErrorTest.cpp | ||
| ExecutorAddressTest.cpp | ||
| ExecutorProcessInfoTest.cpp | ||
| InProcessControllerAccessTest.cpp | ||
| IntervalMapTest.cpp | ||
| IntervalSetTest.cpp | ||
| iterator_range-test.cpp | ||
| lit.cfg.py | ||
| lit.site.cfg.py.in | ||
| LockedAccessTest.cpp | ||
| LoggingTest.cpp | ||
| MacroUtilsTest.cpp | ||
| MathTest.cpp | ||
| MemoryAccessSPSCITest.cpp | ||
| MemoryFlagsTest.cpp | ||
| move_only_function-test.cpp | ||
| NativeDylibManagerSPSCITest.cpp | ||
| NativeDylibManagerTest.cpp | ||
| QueueingRunnerTest.cpp | ||
| RTTITest.cpp | ||
| scope_exit-test.cpp | ||
| SessionTest.cpp | ||
| SimpleNativeMemoryMapSPSCITest.cpp | ||
| SimpleNativeMemoryMapTest.cpp | ||
| SimplePackedSerializationTest.cpp | ||
| SimplePackedSerializationTestUtils.h | ||
| SimpleSymbolTableTest.cpp | ||
| span-test.cpp | ||
| SPSAllocActionTest.cpp | ||
| SPSMemoryFlagsTest.cpp | ||
| SPSWrapperFunctionBufferTest.cpp | ||
| SPSWrapperFunctionTest.cpp | ||
| StandaloneMachOUnwindInfoRegistrarTest.cpp | ||
| StringExtrasTest.cpp | ||
| TaskGroupTest.cpp | ||
| ThreadPoolRunnerTest.cpp | ||
| WrapperFunctionBufferTest.cpp | ||