Function call_host_function_internal

Source
pub fn call_host_function_internal(
    function_name: &str,
    parameters: Option<Vec<ParameterValue>>,
    return_type: ReturnType,
) -> Result<()>
Expand description

Internal function to call a host function without generic type parameters. This is used by both the Rust and C APIs to reduce code duplication.

This function doesn’t return the host function result directly, instead it just performs the call. The result must be obtained by calling get_host_return_value.