| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[orc-rt] Introduce WrapperFunction APIs. (#157091) Introduces the following key APIs: orc_rt_WrapperFunction defines the signature of an ORC asynchronous wrapper function: typedef void (*orc_rt_WrapperFunctionReturn)( orc_rt_SessionRef Session, void *CallCtx, orc_rt_WrapperFunctionBuffer ResultBytes); typedef void (*orc_rt_WrapperFunction)(orc_rt_SessionRef Session, void *CallCtx, orc_rt_WrapperFunctionReturn Return, orc_rt_WrapperFunctionBuffer ArgBytes); A wrapper function takes a reference to the session object, a context pointer for the call being made, and a pointer to an orc_rt_WrapperFunctionReturn function that can be used to send the result bytes. The orc_rt::WrapperFunction utility simplifies the writing of wrapper functions whose arguments and return values are serialized/deserialized using an abstract serialization utility. The orc_rt::SPSWrapperFunction utility provides a specialized version of orc_rt::WrapperFunction that uses SPS serialization. | 10 个月前 | |
[orc-rt] Add C and C++ APIs for WrapperFunctionResult. (#154927) orc_rt_WrapperFunctionResult is a byte-buffer with inline storage and a builtin error state. It is intended as a general purpose return type for functions that return a serialized result (e.g. for communication across ABIs or via IPC/RPC). orc_rt_WrapperFunctionResult contains a small amount of inline storage, allowing it to avoid heap-allocation for small return types (e.g. bools, chars, pointers). | 11 个月前 | |
[orc-rt] Rename 'Session' variables to avoid ambiguity with type. NFCI. (#168999) Re-using Session as a variable name risks confusion with the Session type. | 8 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 10 个月前 | ||
| 11 个月前 | ||
| 8 个月前 |