mirror-llvm-project/orc-rt/include/orc-rt-c
Lang Hames 4df68548fc
[orc-rt] Reorder wrapper-fn args to trailing-callback style. (#212243)
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.
2026-07-28 17:14:30 +10:00
..
Compiler.h [orc-rt] Add an ORC_RT_C_FORMAT_PRINTF macro for format-string checking (#208209) 2026-07-08 22:57:21 +10:00
config.h.in [orc-rt] Rename the "disable logging" level from "none" to "off" (#208697) 2026-07-10 21:56:56 +10:00
CoreTypes.h [orc-rt] Session::HandlerTag -> orc_rt_ControllerHandlerTag (#212173) 2026-07-27 16:17:42 +10:00
Error.h [orc-rt] Add ORC_RT_C_NOTHROW and apply it to the Error C API. (#203674) 2026-06-13 15:58:42 +10:00
Logging.h [orc-rt] Add ORC_RT_LOG_PUB_S for logging runtime strings. (#209401) 2026-07-14 20:17:27 +10:00
Session.h [orc-rt] Add C API for Session::callController. (#212204) 2026-07-27 21:06:19 +10:00
WrapperFunction.h [orc-rt] Reorder wrapper-fn args to trailing-callback style. (#212243) 2026-07-28 17:14:30 +10:00