MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / IsHeaderFile

Function IsHeaderFile

scripts/osx/ycm_extra_conf.py:111–113  ·  view source on GitHub ↗
( filename )

Source from the content-addressed store, hash-verified

109
110
111def IsHeaderFile( filename ):
112 extension = os.path.splitext( filename )[ 1 ]
113 return extension in [ '.h', '.hxx', '.hpp', '.hh' ]
114
115
116def GetCompilationInfoForFile( filename ):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected