call_function_parse_from_c

Function call_function_parse_from_c 

Source
pub unsafe fn call_function_parse_from_c(
    runtime: *const c_void,
    function_name: *const c_char,
    encoded_args: *const c_char,
    length: size_t,
    id: u32,
) -> Result<Buffer>
Expand description

Call a BAML function for parsing.

Returns a Buffer containing the InvocationResponse protobuf. The caller is responsible for decoding the buffer and freeing it.

ยงSafety

All pointers must be valid.