run_model

Function run_model 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn run_model( model_path: *const c_char, verbosity: Verbosity, graph_format: GraphFormat, failfast: ExecutionMode, ) -> bool
Expand description

Runs a model given a path to a model directory, verbosity level (0-4), graph format (json / dot), and execution mode (failfast / continue)

Returns true if successful, false if not

Sets last_error if an error occurs

ยงSafety

Should take a valid path to a model directory as a C string

Should take a valid verbosity level

Should take a valid graph format

Should take a valid execution mode