pub unsafe extern "C" fn panda_parse_double(
args: *mut panda_arg_list,
argname: *const i8,
defval: f64,
) -> f64Expand description
panda_parse_double() - Get value corresponding to this plugin arg as a double, with default. @args: The previously parsed panda_arg_list. @argname: The name of the argument in args. @defval: A default value.
Look through the arguments in args, and if any have name argname, translate the associated value into a double and return it. If no such name is found, use the provided default.
Return: a double from args or default.