[ORC-RT] Add OrcRTCWrapperFunctionResult.
OrcRTCWrapperFunctionResult is a C struct that can be used to return serialized results from "wrapper functions" -- functions that deserialize an argument buffer, call through to an actual implementation function, then serialize and return the result of that function. Wrapper functions allow calls between ORC and the ORC Runtime to be written using a single signature, WrapperFunctionResult(const char *ArgData, size_t ArgSize), and without coupling either side to a particular transport mechanism (in-memory, TCP, IPC, ... the actual mechanism will be determined by the TargetProcessControl implementation). OrcRTCWrapperFunctionResult is designed to allow small serialized buffers to be returned by value, with larger serialized results stored on the heap. They also provide an error state to report failures in serialization/deserialization.
Loading
Please register or sign in to comment