Skip to main content

stats_get

Function stats_get 

Source
pub unsafe extern "C" fn stats_get(
    stat: Statistics,
    name: *const c_char,
) -> Stat
Expand description

Retrieve the statistic with the given name. @note Requires that a statistic with the given name actually exists. @param stat The statistics. @param name The name of the statistic. @return The statistic with the given name.