pub unsafe extern "C" fn panda_parse_double_req(
args: *mut panda_arg_list,
argname: *const i8,
help: *const i8,
) -> f64Expand description
panda_parse_double_req() - Get required value corresponding to this plugin arg as a double. @args: The previously parsed panda_arg_list. @argname: The name of the argument in args. @help: Help text.
Look through the arguments in args, and if any have name argname, translate the associated value into a double and return it. As this argument is required, if no such name is found, plugin load should fail.
Return: a double from args.