MCPcopy Create free account
hub / github.com/numpy/numpy / has_cxx_sources

Function has_cxx_sources

numpy/distutils/misc_util.py:535–540  ·  view source on GitHub ↗

Return True if sources contains C++ files

(sources)

Source from the content-addressed store, hash-verified

533 return False
534
535def has_cxx_sources(sources):
536 """Return True if sources contains C++ files """
537 for source in sources:
538 if cxx_ext_match(source):
539 return True
540 return False
541
542def filter_sources(sources):
543 """Return four lists of filenames containing

Callers 2

runMethod · 0.90
have_cxx_sourcesMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected