sailfish.kernel.library.validate_constraints

sailfish.kernel.library.validate_constraints(args, spec, symbol)[source]

Validate kernel argument constraints for a symbol.

Constraints are optionally defined in C code and extracted in the parse_api module.