(
funcs_name,
headers=["feature_detection_math.h", "feature_detection_cmath.h"])
| 172 | return st |
| 173 | |
| 174 | def check_funcs( |
| 175 | funcs_name, |
| 176 | headers=["feature_detection_math.h", "feature_detection_cmath.h"]): |
| 177 | # Use check_funcs_once first, and if it does not work, test func per |
| 178 | # func. Return success only if all the functions are available |
| 179 | if not check_funcs_once(funcs_name, headers=headers): |
| 180 | # Global check failed, check func per func |
| 181 | for f in funcs_name: |
| 182 | if check_func(f, headers=headers): |
| 183 | moredefs.append((fname2def(f), 1)) |
| 184 | return 0 |
| 185 | else: |
| 186 | return 1 |
| 187 | |
| 188 | #use_msvc = config.check_decl("_MSC_VER") |
| 189 | if not check_funcs_once(MANDATORY_FUNCS, add_to_moredefs=False): |
no test coverage detected