Module_load_method

Function Module_load_method 

Source
pub unsafe fn Module_load_method(
    self_: Pin<&mut Module>,
    method_name: &CxxString,
    planned_memory: *mut HierarchicalAllocator,
    event_tracer: *mut EventTracer,
) -> Error
Available on crate feature module only.
Expand description

Load a specific method from the program and set up memory management if needed.

The loaded method is cached to reuse the next time it’s executed.

§Arguments

  • method_name: The name of the method to load.

§Returns

An Error to indicate success or failure.