Skip to main content

par_comp

Macro par_comp 

Source
macro_rules! par_comp {
    ($config:expr, $graph:expr, $endianness:expr) => { ... };
}
Expand description

Calls par_comp dispatching on a runtime endianness string.

The macro returns a Result with the output of the call if the endianness is recognized, and an error otherwise.

ยงArguments

  • config - the BvCompConf to call par_comp on;

  • graph - an implementation of IntoParLenders with Label = usize;

  • endianness - a string specifying the endianness type to use for the call; it must implement AsRef<str>, and must be equal to the name of one of the endianness types supported by the binary.